Add auto-cherry-pick.yml GHA workflow

This GHA workflow looks for an `Auto-cherry-pick to` sentence in the pushed commit
and tries to cherry-pick it to requested branches in that sentence.
For example like with this commit:

**Auto-cherry-pick to `3.1.x` & `3.0.x`**
This commit is contained in:
Artem Bilan
2024-02-08 18:23:54 -05:00
parent 74f6882e7d
commit b5f989c420

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@main
secrets:
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}