diff --git a/.github/workflows/code-formatting-check.yaml b/.github/workflows/code-formatting-check.yaml index 3b855f5ee..2b9b95bb9 100644 --- a/.github/workflows/code-formatting-check.yaml +++ b/.github/workflows/code-formatting-check.yaml @@ -13,6 +13,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.compare || github.head_ref || github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} +permissions: + contents: read + jobs: cargo-fmt: name: .rs Formatting Check diff --git a/.github/workflows/typos.yaml b/.github/workflows/typos.yaml index 0e69777d6..1970aec86 100644 --- a/.github/workflows/typos.yaml +++ b/.github/workflows/typos.yaml @@ -13,6 +13,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.compare || github.head_ref || github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} +permissions: + contents: read + jobs: typos: name: Spell check