Skip to content

Commit abd7f50

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cffconvert.yml

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

8+
permissions:
9+
contents: read
10+
811
jobs:
912
validate:
1013
name: "validate"
1114
runs-on: ubuntu-latest
1215
steps:
1316
- name: Check out a copy of the repository
1417
uses: actions/checkout@v2
18+
with:
19+
persist-credentials: false
1520

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

0 commit comments

Comments
 (0)