diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index a86c58e5c7..abe0c377c5 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -36,6 +36,9 @@ on: schedule: - cron: '0 0 * * *' +permissions: + contents: read + jobs: security_audit: runs-on: ubuntu-latest diff --git a/.github/workflows/bindings_python_ci.yml b/.github/workflows/bindings_python_ci.yml index 8be856c246..a78f27b0b1 100644 --- a/.github/workflows/bindings_python_ci.yml +++ b/.github/workflows/bindings_python_ci.yml @@ -40,6 +40,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} cancel-in-progress: true +permissions: + contents: read + jobs: check-rust: runs-on: ubuntu-latest diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b22201154..ea2257b676 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} cancel-in-progress: true +permissions: + contents: read + jobs: check: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/ci_typos.yml b/.github/workflows/ci_typos.yml index 782c81dcea..c9ca4f4973 100644 --- a/.github/workflows/ci_typos.yml +++ b/.github/workflows/ci_typos.yml @@ -32,6 +32,9 @@ concurrency: env: RUST_BACKTRACE: 1 +permissions: + contents: read + jobs: typos-check: name: typos check diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a3c9887a81..e81c715896 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,11 +27,15 @@ on: schedule: - cron: '16 4 * * 1' +permissions: + contents: read + jobs: analyze: name: Analyze Actions runs-on: ubuntu-latest permissions: + contents: read security-events: write packages: read diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 47b3d83f58..4504f6e2f0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,6 +26,9 @@ on: - "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+" workflow_dispatch: +permissions: + contents: read + jobs: publish: runs-on: ubuntu-latest diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 1a52482b08..59bd2c6f2c 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -30,6 +30,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} cancel-in-progress: true +permissions: + contents: read + jobs: build: runs-on: ubuntu-latest