diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index be980b51b..c0c80e964 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -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 @@ -37,4 +43,4 @@ jobs: with: name: .NET Unit Tests path: src/**/test-results.trx - reporter: dotnet-trx \ No newline at end of file + reporter: dotnet-trx