diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3ea0f729..a64b8ebc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,8 @@ name: CI on: [push, pull_request] +permissions: + contents: read + jobs: test: name: Test diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e57b008ea..6cdea5a30 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,13 +1,14 @@ name: CodeQL on: [push, pull_request] +permissions: + contents: read + jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: - actions: read - contents: read security-events: write strategy: