File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ concurrency:
19
19
group : ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
20
20
cancel-in-progress : true
21
21
22
+ # Fine-grant permission
23
+ # https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
24
+ permissions :
25
+ contents : write # for creating release
26
+
22
27
env :
23
28
BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
24
29
GGML_NLOOP : 3
Original file line number Diff line number Diff line change 3
3
schedule :
4
4
- cron : " 42 0 * * *"
5
5
6
+ # Fine-grant permission
7
+ # https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
8
+ permissions :
9
+ issues : write
10
+
6
11
jobs :
7
12
close-issues :
8
13
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -21,6 +21,13 @@ concurrency:
21
21
group : ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
22
22
cancel-in-progress : true
23
23
24
+ # Fine-grant permission
25
+ # https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
26
+ permissions :
27
+ # https://github.com/DeterminateSystems/nix-installer-action?tab=readme-ov-file#with-flakehub
28
+ id-token : write
29
+ contents : read
30
+
24
31
jobs :
25
32
nix-build-aarch64 :
26
33
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ concurrency:
12
12
group : ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
13
13
cancel-in-progress : true
14
14
15
+ # Fine-grant permission
16
+ # https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
17
+ permissions :
18
+ # https://github.com/DeterminateSystems/nix-installer-action?tab=readme-ov-file#with-flakehub
19
+ id-token : write
20
+ contents : read
21
+
15
22
jobs :
16
23
nix-eval :
17
24
strategy :
You can’t perform that action at this time.
0 commit comments