Skip to content

Commit

Permalink
Adjust GHA workflows for branching
Browse files Browse the repository at this point in the history
* Add `*.x` branch pattern to `merge-dependabot-pr.yml` and `pr-build.yml`
* Add `auto-cherry-pick.yml` and `backport-issue.yml` workflows

**Auto-cherry-pick to `5.0.x`**
  • Loading branch information
artembilan committed Dec 23, 2024
1 parent 94f2323 commit e6e2a0d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/auto-cherry-pick.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Auto Cherry-Pick

on:
push:
branches:
- main
- '*.x'

jobs:
cherry-pick-commit:
uses: spring-io/spring-github-workflows/.github/workflows/spring-cherry-pick.yml@v5
secrets:
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/backport-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Backport Issue

on:
push:
branches:
- '*.x'

jobs:
backport-issue:
uses: spring-io/spring-github-workflows/.github/workflows/spring-backport-issue.yml@v5
secrets:
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/merge-dependabot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- '*.x'

run-name: Merge Dependabot PR ${{ github.ref_name }}

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- '*.x'

jobs:
build-pull-request:
Expand Down

0 comments on commit e6e2a0d

Please sign in to comment.