diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0981e4d..0582b32 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -42,6 +42,11 @@ jobs: secrets: inherit Results: + permissions: + contents: write + issues: write + pull-requests: write + # name: Compare code coverage needs: [Testing] uses: ./.github/workflows/_CI_coverage_compare.yml diff --git a/.github/workflows/_CI_coverage_compare.yml b/.github/workflows/_CI_coverage_compare.yml index aa98e07..82cf514 100644 --- a/.github/workflows/_CI_coverage_compare.yml +++ b/.github/workflows/_CI_coverage_compare.yml @@ -20,12 +20,13 @@ on: description: "The Python Coverage for source" type: string -permissions: read-all +permissions: + contents: write + issues: write + pull-requests: write jobs: compare_coverage: - permissions: - contents: write name: Compare Reported Coverage runs-on: ubuntu-latest steps: diff --git a/.github/workflows/_CI_update.yml b/.github/workflows/_CI_update.yml index 73c6f6d..4acfd39 100644 --- a/.github/workflows/_CI_update.yml +++ b/.github/workflows/_CI_update.yml @@ -12,7 +12,8 @@ on: description: "Status of coverage tests (passed/failed)" type: string -permissions: read-all +permissions: + contents: write jobs: commit_job: