Skip to content

Commit

Permalink
SHIP-0038: Run CI on Release Branches
Browse files Browse the repository at this point in the history
Update our CI-oriented GitHub actions to run when commits merge in a
`release-v*` branch, or a pull request is opened against a `release-v*`
branch. With this change, future release branches will automatically
have CI checks enabled. This commit should be backported to enable CI
in a prior release branch.

This implements a portion of SHIP-0038.

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
  • Loading branch information
adambkaplan committed Mar 18, 2024
1 parent 31e7555 commit 924b57a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ on:
pull_request:
branches:
- main
- "release-v*" # release branches
push:
paths-ignore:
- 'README.md'
- 'docs/**'
branches:
- main
- "release-v*" # release branches

jobs:
unit:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-notes-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:
branches:
- main
- "release-v*" # release branches

jobs:
release-note-linter:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ on:
- '**'
branches:
- main
- "release-v*" # release branches
pull_request:
branches:
- main
- "release-v*" # release branches

permissions:
contents: read
Expand Down

0 comments on commit 924b57a

Please sign in to comment.