Adjust GHA workflows for branching

* Add `*.x` branch pattern to `merge-dependabot-pr.yml` and `pr-build.yml`
* Add `auto-cherry-pick.yml` and `backport-issue.yml` workflows

(cherry picked from commit e6e2a0d1d4)
This commit is contained in:
Artem Bilan
2024-12-23 10:34:33 -05:00
committed by Spring Builds
parent 94f23233d5
commit cba565c326
4 changed files with 27 additions and 0 deletions

13
.github/workflows/auto-cherry-pick.yml vendored Normal file
View File

@@ -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
.github/workflows/backport-issue.yml vendored Normal file
View File

@@ -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 }}

View File

@@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- '*.x'
run-name: Merge Dependabot PR ${{ github.ref_name }}

View File

@@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- '*.x'
jobs:
build-pull-request: