Skip to content

Commit

Permalink
Merge pull request Expensify#4370 from Expensify/Rory-WarnCPLabelAsGi…
Browse files Browse the repository at this point in the history
…thub

[No QA] Switch warnCPLabel trigger from pull_request to pull_request_target
  • Loading branch information
AndrewGable authored Aug 2, 2021
2 parents 497a65e + 6128845 commit e511b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/warnCPLabel.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Explain Cherry-Pick label via OSBotify comment

on:
pull_request:
pull_request_target:
types:
- labeled

Expand All @@ -14,7 +14,7 @@ jobs:
- name: Comment on PR to explain the CP Staging label
uses: actions-ecosystem/action-create-comment@cd098164398331c50e7dfdd0dfa1b564a1873fac
with:
github_token: ${{ secrets.OS_BOTIFY_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
body: |
:warning: :warning: **Heads up! This pull request has the `CP Staging` label.** :warning: :warning:
Merging it will cause it to be immediately deployed to staging, _even if the [open `StagingDeployCash` deploy checklist](https://github.com/Expensify/Expensify.cash/issues?q=is%3Aopen+is%3Aissue+label%3AStagingDeployCash) is locked._
Expand Down

0 comments on commit e511b1f

Please sign in to comment.