Skip to content

Commit b2d39a9

Browse files
committed
Remove permissions of GitHub action that validates CITATION.cff
1 parent 07f8fe1 commit b2d39a9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/cffconvert.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,29 @@ on:
55
paths:
66
- CITATION.cff
77

8+
permissions:
9+
actions: none
10+
checks: none
11+
contents: read
12+
deployments: none
13+
id-token: none
14+
issues: none
15+
packages: none
16+
pages: none
17+
pull-requests: none
18+
repository-projects: none
19+
security-events: none
20+
statuses: none
21+
822
jobs:
923
validate:
1024
name: "validate"
1125
runs-on: ubuntu-latest
1226
steps:
1327
- name: Check out a copy of the repository
1428
uses: actions/checkout@v2
29+
with:
30+
persist-credentials: false
1531

1632
- name: Check whether the citation metadata from CITATION.cff is valid
1733
uses: citation-file-format/[email protected]

0 commit comments

Comments
 (0)