Skip to content

PR Comment

PR Comment #5

Workflow file for this run

# Post test results as pull request comment.
#
# This is done as a separate workflow as it requires write permissions. The
# tests itself might run off of a fork, i.e., an untrusted environment and should
# thus not be granted write permissions.
name: PR Comment
on:
workflow_run:
workflows: ["QNS", "CI", "Firefox"]
types:
- completed
permissions: read-all
jobs:
comment:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: |
github.event.workflow_run.event == 'pull_request' &&
(github.event.workflow_run.name != 'CI' || github.event.workflow_run.conclusion == 'success' )
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: ./.github/actions/pr-comment
with:
name: ${{ github.event.workflow_run.name }}
token: ${{ secrets.GITHUB_TOKEN }}