added permissions

This commit is contained in:
Miodec 2022-05-06 17:23:06 +02:00
parent 366999bb8e
commit f88dc88c8d

View file

@ -1,4 +1,6 @@
name: Comment on failed PR
permissions:
pull-requests: write
on:
workflow_run:
@ -31,5 +33,5 @@ jobs:
issue_number: ${{ steps.pr_num_reader.outputs.content }},
owner: context.repo.owner,
repo: context.repo.repo,
body: 'The PR check action failed. Please review the logs and make the necessary changes.' + context.payload.workflow_run.html_url
body: 'The PR check action failed. Please review the logs and make the necessary changes. ' + context.payload.workflow_run.html_url
})