Skip to content

Commit

Permalink
ci: Assign permissions for unit tests to be reported. (#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkerkhove authored Jun 20, 2022
1 parent 3fc956f commit 78e7410
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
- .github/workflows/ci-code.yml
- src/**

# Assign permissions for unit tests to be reported.
# See https://github.com/dorny/test-reporter/issues/168
permissions:
statuses: write
checks: write

jobs:
verify_codebase:
name: Verify Codebase
Expand Down Expand Up @@ -37,4 +43,4 @@ jobs:
with:
name: .NET Unit Tests
path: src/**/test-results.trx
reporter: dotnet-trx
reporter: dotnet-trx

0 comments on commit 78e7410

Please sign in to comment.