Skip to content

Commit

Permalink
chore: Move permissions out of GH workflow job node
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmeisterAn committed Feb 10, 2024
1 parent 9764f33 commit 8e52184
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ on:
types:
- completed

permissions:
actions: read
checks: write
contents: read

jobs:
report:
strategy:
fail-fast: false
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 }}
Expand Down

0 comments on commit 8e52184

Please sign in to comment.