Skip to content

Commit

Permalink
Scope permissions to build job
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Jun 5, 2024
1 parent 1815c28 commit 506a376
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

permissions:
contents: read
id-token: write

jobs:
nix-check:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -44,6 +40,10 @@ jobs:

runs-on: ${{ matrix.os }}

permissions:
contents: read
id-token: write

steps:
- name: Print platform information
run: uname -ms
Expand Down

0 comments on commit 506a376

Please sign in to comment.