From 15299ee576c255915a25d3e02e09d6cf4f848da8 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Wed, 27 Mar 2024 12:30:33 -0700 Subject: [PATCH] [self-test CI] add permissions and better checks-failed output --- .github/workflows/self-test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index 621eaf51..55d1c8bb 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -18,6 +18,9 @@ on: jobs: test: + permissions: + issues: write + pull-requests: write strategy: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] @@ -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