Skip to content

Commit fd0b7c5

Browse files
authored
Merge pull request #322 from akirak/fix-zizmor-warnings
Fix security warnings on the CI workflows
2 parents f16f4d7 + 85bef80 commit fd0b7c5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/actions/setup-nix/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ inputs:
1414
runs:
1515
using: composite
1616
steps:
17-
- uses: cachix/install-nix-action@v31
17+
- uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31.10.6
1818
with:
1919
github_access_token: ${{ inputs.github-token }}
2020
extra_nix_config:
2121
flake-registry = https://raw.githubusercontent.com/akirak/flake-pins/master/registry.json
2222

23-
- uses: cachix/cachix-action@v17
23+
- uses: cachix/cachix-action@02b16339eddcf6ea27126a830c7f1992855cae13 # v17
2424
with:
2525
name: akirak
2626
authToken: '${{ inputs.cachix-token }}'

.github/workflows/update-elixir.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
## SPDX-License-Identifier: MIT
12
name: "Update the Erlang and Elixir versions"
23

34
on:
@@ -63,6 +64,8 @@ jobs:
6364
with:
6465
app-id: ${{ secrets.CREATE_PR_APP_ID }}
6566
private-key: ${{ secrets.CREATE_PR_APP_PRIVATE_KEY }}
67+
permission-contents: write
68+
permission-pull-requests: write
6669

6770
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6871
with:

0 commit comments

Comments
 (0)