From 8e52184a29219355224ccade1377f61a86508a41 Mon Sep 17 00:00:00 2001 From: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com> Date: Sat, 10 Feb 2024 20:41:29 +0100 Subject: [PATCH] chore: Move permissions out of GH workflow job node --- .github/workflows/test-report.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-report.yml b/.github/workflows/test-report.yml index 34aa448e6..0ec3d8ba1 100644 --- a/.github/workflows/test-report.yml +++ b/.github/workflows/test-report.yml @@ -6,6 +6,11 @@ on: types: - completed +permissions: + actions: read + checks: write + contents: read + jobs: report: strategy: @@ -13,15 +18,10 @@ jobs: matrix: os: [ ubuntu-22.04, windows-2022 ] - runs-on: ubuntu-22.04 - - permissions: - actions: read - checks: write - contents: read + runs-on: ${{ matrix.os }} steps: - - name: Publish '${{ matrix.os }}' Test Report + - name: Publish Test Report uses: dorny/test-reporter@v1 with: artifact: ${{ matrix.os }}