Skip to content

Commit

Permalink
Pin the cherry-pick action to the latest commit to include the fix to…
Browse files Browse the repository at this point in the history
… change the cherry-pick PR's titles to the commit's title, instead of the same issue title to avoid confusion.

PiperOrigin-RevId: 588539988
Change-Id: I36b3d1024cc4a7df0bd7b00985475c1d976d6ca5
  • Loading branch information
Googler authored and copybara-github committed Dec 6, 2023
1 parent 492ee4c commit d0892f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cherry-picker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
egress-policy: audit
- if: github.event.pull_request
name: Run cherrypicker on closed PR
uses: bazelbuild/continuous-integration/actions/cherry_picker@3561f079e0414d31ebba923815695e1e714937cb
uses: bazelbuild/continuous-integration/actions/cherry_picker@f0c572a32e187da026aaa3a1127e232ca423dd71
with:
triggered-on: closed
pr-number: ${{ github.event.number }}
is-prod: True
- if: github.event.issue
name: Run cherrypicker on closed issue
uses: bazelbuild/continuous-integration/actions/cherry_picker@3561f079e0414d31ebba923815695e1e714937cb
uses: bazelbuild/continuous-integration/actions/cherry_picker@f0c572a32e187da026aaa3a1127e232ca423dd71
with:
triggered-on: closed
pr-number: ${{ github.event.issue.number }}
Expand All @@ -45,7 +45,7 @@ jobs:
egress-policy: audit
- if: startsWith(github.event.issue.body, 'Forked from')
name: Run cherrypicker on comment
uses: bazelbuild/continuous-integration/actions/cherry_picker@3561f079e0414d31ebba923815695e1e714937cb
uses: bazelbuild/continuous-integration/actions/cherry_picker@f0c572a32e187da026aaa3a1127e232ca423dd71
with:
triggered-on: commented
pr-number: ${{ github.event.issue.body }}
Expand All @@ -54,7 +54,7 @@ jobs:
is-prod: True
- if: startsWith(github.event.issue.body, '### Commit IDs')
name: Run cherrypicker on demand
uses: bazelbuild/continuous-integration/actions/cherry_picker@3561f079e0414d31ebba923815695e1e714937cb
uses: bazelbuild/continuous-integration/actions/cherry_picker@f0c572a32e187da026aaa3a1127e232ca423dd71
with:
triggered-on: ondemand
milestone-title: ${{ github.event.milestone.title }}
Expand Down

0 comments on commit d0892f4

Please sign in to comment.