Skip to content

Commit

Permalink
Update comment-pr.yml to remove token
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Feb 28, 2024
1 parent b104ca3 commit 7eecb41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/comment-pr.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: comment-pr

# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#using-data-from-the-triggering-workflow
on:
workflow_run:
workflows: ["receive-pr"]
types:
- completed

# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
# Since this pull request has write permissions on the target repo, we should **NOT** execute any untrusted code.
jobs:
post-suggestions:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: openrewrite/gh-automation/.github/workflows/comment-pr.yml@main
secrets:
GH_PAT_ACTIONS_READ: ${{ secrets.GH_PAT_ACTIONS_READ }}

0 comments on commit 7eecb41

Please sign in to comment.