Skip to content

Commit

Permalink
Update cherry-picker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iancha1992 authored Sep 10, 2024
1 parent 0f6458a commit c919a8b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cherry-picker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
cherry-picker-on-closed:
if: github.event.action == 'closed' && github.event.sender.login == 'copybara-service[bot]'
if: github.event.action == 'closed'
runs-on: ubuntu-latest
steps:
- name: Harden Runner
Expand All @@ -27,14 +27,14 @@ jobs:
with:
triggered-on: closed
pr-number: ${{ github.event.number }}
is-prod: True
is-prod: False
- if: github.event.issue
name: Run cherrypicker on closed issue
uses: bazelbuild/continuous-integration/actions/cherry_picker@ee5ea988681e086afabfe6677eef2dc1292f6b9d
with:
triggered-on: closed
pr-number: ${{ github.event.issue.number }}
is-prod: True
is-prod: False
cherry-picker-on-milestoned:
if: github.event.action == 'milestoned'
runs-on: ubuntu-latest
Expand All @@ -51,7 +51,7 @@ jobs:
pr-number: ${{ github.event.issue.body }}
milestone-title: ${{ github.event.milestone.title }}
milestoned-issue-number: ${{ github.event.issue.number }}
is-prod: True
is-prod: False
- if: startsWith(github.event.issue.body, '### Commit IDs')
name: Run cherrypicker on demand
uses: bazelbuild/continuous-integration/actions/cherry_picker@ee5ea988681e086afabfe6677eef2dc1292f6b9d
Expand All @@ -61,4 +61,4 @@ jobs:
milestoned-issue-number: ${{ github.event.issue.number }}
issue-title: ${{ github.event.issue.title }}
issue-body: ${{ github.event.issue.body }}
is-prod: True
is-prod: False

0 comments on commit c919a8b

Please sign in to comment.