Skip to content

Commit

Permalink
Add auto-cherry-pick.yml GHA workflow
Browse files Browse the repository at this point in the history
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`**
  • Loading branch information
artembilan committed Feb 8, 2024
1 parent 74f6882 commit b5f989c
Showing 1 changed file with 13 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@main
secrets:
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

0 comments on commit b5f989c

Please sign in to comment.