This repository was archived by the owner on Feb 11, 2026. It is now read-only.
Bump the python-packages group across 1 directory with 90 updates #791
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Cherry-Pick into release-1.0 branch | |
| on: | |
| pull_request: | |
| types: [closed] | |
| branches: | |
| - main | |
| jobs: | |
| cherry_pick: | |
| if: github.event.pull_request.merged == true && | |
| contains(github.event.pull_request.labels.*.name, 'cherry-pick-release-1.0') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Git | |
| run: | | |
| git config user.name "GitHub Actions Bot" | |
| git config user.email "actions@github.com" | |
| - name: Cherry-pick commit | |
| run: | | |
| git checkout release-1.0 | |
| git cherry-pick -m 1 ${{ github.event.pull_request.merge_commit_sha }} | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| branch: cherry-pick-${{ github.event.pull_request.number }} | |
| base: release-1.0 | |
| title: 'Cherry-pick: Add commit to release-1.0 ${{ github.event.pull_request.title }}' | |
| body: 'Automatically cherry-picked commit from main branch' |