diff --git a/.github/workflows/sheldon.yaml b/.github/workflows/sheldon.yaml index eef83fd496c2..ffbdd8f1a1fe 100644 --- a/.github/workflows/sheldon.yaml +++ b/.github/workflows/sheldon.yaml @@ -4,8 +4,14 @@ on: pull_request_target: types: [ opened, synchronize, workflow_dispatch] +permissions: + contents: read + jobs: test: + permissions: + contents: write # for stefanzweifel/git-auto-commit-action to push code in repo + pull-requests: read # for dorny/paths-filter to read pull requests runs-on: ubuntu-latest env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"