Skip to content

Commit

Permalink
Configure permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
echeran committed Nov 12, 2024
1 parent ca5b783 commit 221de36
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
name: Lint ICU4C C++ executor
runs-on: ubuntu-latest

permissions:
contents: read # change to write for thread comments
# metadata: read # for thread comments
pull-requests: write # for pull request reviews

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -40,6 +45,8 @@ jobs:
# split_workflow: true
# apt_packages: "libjson-c-dev,libicu-dev"
id: linter
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# If there are any comments, fail the check
- if: steps.linter.outputs.checks-failed > 0
run: exit 1

0 comments on commit 221de36

Please sign in to comment.