Skip to content

Commit

Permalink
Add permission to post comment in forked PR from GH Action (#3153)
Browse files Browse the repository at this point in the history
* grant permission to fork prs to comment in the PR via gh action

* remove unnecessary event to trigger workflow

---------

Co-authored-by: Anita Caron <[email protected]>
  • Loading branch information
Anita Caron and anitacaron authored Dec 19, 2023
1 parent eb52d24 commit d729acf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/qc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.4.3

permissions:
contents: read
pull-requests: write
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down

0 comments on commit d729acf

Please sign in to comment.