Skip to content

Commit

Permalink
[self-test CI] add permissions and better checks-failed output
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Mar 27, 2024
1 parent b5e2d86 commit 15299ee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/self-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:

jobs:
test:
permissions:
issues: write
pull-requests: write
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
Expand Down Expand Up @@ -61,7 +64,8 @@ jobs:
# if: steps.linter.outputs.checks-failed > 0
run: |
echo "some linter checks failed"
echo "${{ steps.linter.outputs.checks-failed }}"
echo "${{ env.checks-failed }}"
echo "total checks-failed: ${{ steps.linter.outputs.checks-failed }}"
echo "clang-tidy checks-failed: ${{ steps.linter.outputs.clang-tidy-checks-failed }}"
echo "clang-format checks-failed: ${{ steps.linter.outputs.clang-format-checks-failed }}"
# for actual deployment
# run: exit 1

0 comments on commit 15299ee

Please sign in to comment.