diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9a0d2c9..b3c4e70d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,9 @@ name: tests on: [push, pull_request] +permissions: + contents: read + env: # Environment variables to support color support (jaraco/skeleton#66): # Request colored output from CLI tools supporting it. Different tools @@ -133,6 +136,8 @@ jobs: needs: - check if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + permissions: + contents: write runs-on: ubuntu-latest steps: