Skip to content

Commit

Permalink
BUG: Add permissions to apply clang format action
Browse files Browse the repository at this point in the history
Attempt to enable the pull request clang format action to work on forked pull
requests.

Background:

- actions/labeler#12
- https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
  • Loading branch information
thewtex committed Aug 24, 2022
1 parent cb4f17f commit dd7ffaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/apply-clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
jobs:
clang-format:
runs-on: ubuntu-latest
permissions:
pull-requests: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: InsightSoftwareConsortium/ITKApplyClangFormatAction@master
Expand Down

0 comments on commit dd7ffaa

Please sign in to comment.