diff --git a/.github/workflows/warnCPLabel.yml b/.github/workflows/warnCPLabel.yml index bc6073029ea..25434a5d88b 100644 --- a/.github/workflows/warnCPLabel.yml +++ b/.github/workflows/warnCPLabel.yml @@ -1,7 +1,7 @@ name: Explain Cherry-Pick label via OSBotify comment on: - pull_request: + pull_request_target: types: - labeled @@ -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._