diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a346ef2..d78cfd9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,6 +5,9 @@ on: branches: [master] pull_request: +permissions: + contents: read + jobs: test: name: Test diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index d8c5b41..ff4b1b1 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -20,13 +20,15 @@ on: schedule: - cron: '27 12 * * 0' +permissions: + contents: read + jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: actions: read - contents: read security-events: write strategy: