Skip to content

Commit 5cc9eab

Browse files
Resolve excessive-permissions warning in ci.yaml (RustPython#7547)
* Resolve `excessive-permissions` warning in `ci.yaml` * Update .github/workflows/ci.yaml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent b275a90 commit 5cc9eab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88

99
name: CI
1010

11+
permissions:
12+
contents: read
13+
1114
# Cancel previous workflows if they are the same workflow on same ref (branch/tags)
1215
# with the same event (push/pull_request) even they are in progress.
1316
# This setting will help reduce the number of duplicated workflows.

0 commit comments

Comments
 (0)