diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b185ee8d..622ad94b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -7,6 +7,9 @@ on: workflow_dispatch: +permissions: + contents: read # to fetch code (actions/checkout) + jobs: push: if: github.repository == 'rq/rq' diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d179b9b7..9c85a82a 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [ master ] +permissions: + contents: read # to fetch code (actions/checkout) + jobs: build: name: Python${{ matrix.python-version }}/Redis${{ matrix.redis-version }}/redis-py${{ matrix.redis-py-version }}