Skip to content

comment-pr

comment-pr #7

Workflow file for this run

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 }}

Check failure on line 15 in .github/workflows/comment-pr.yml

View workflow run for this annotation

GitHub Actions / comment-pr

Invalid workflow file

The workflow is not valid. .github/workflows/comment-pr.yml (Line: 15, Col: 28): Invalid secret, GH_PAT_ACTIONS_READ is not defined in the referenced workflow.