Skip to content

Commit

Permalink
[core] Adjust cherry-pick GH actions (@LukasTy) (#15101)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Tyla <[email protected]>
  • Loading branch information
github-actions[bot] and LukasTy authored Oct 24, 2024
1 parent b8a7d6a commit 03904fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Cherry pick next to master
name: Cherry pick master to v7

on:
pull_request_target:
branches:
- next
- master
types: ['closed']

permissions: {}

jobs:
cherry_pick_to_master:
cherry_pick_to_v7:
runs-on: ubuntu-latest
name: Cherry pick into master
name: Cherry pick into v7
permissions:
pull-requests: write
contents: write
Expand All @@ -26,7 +26,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: carloscastrojumo/github-cherry-pick-action@503773289f4a459069c832dc628826685b75b4b3 # v1.0.10
with:
branch: master
branch: v7.x
body: 'Cherry-pick of #{old_pull_request_id}'
cherry-pick-branch: ${{ format('cherry-pick-{0}', github.event.number) }}
title: '{old_title} (@${{ github.event.pull_request.user.login }})'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Cherry pick master to v6
name: Cherry pick v7 to v6

on:
pull_request_target:
branches:
- master
- v7.x
types: ['closed']

permissions: {}

jobs:
cherry_pick_to_v6:
cherry_pick_v7_to_v6:
runs-on: ubuntu-latest
name: Cherry pick into v6
name: Cherry pick v7 into v6
permissions:
pull-requests: write
contents: write
Expand Down

0 comments on commit 03904fb

Please sign in to comment.