Skip to content

Commit d039e54

Browse files
authored
Merge pull request #3833 from joycebrum/main
[CI] Set permissions for GitHub Actions
2 parents 90bbf31 + a752c1a commit d039e54

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci-sage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ on:
4343
workflow_dispatch:
4444
# Allow to run manually
4545

46+
permissions:
47+
contents: read
48+
4649
env:
4750
# Ubuntu packages to install so that the project's "setup.py sdist" can succeed
4851
DIST_PREREQ: python3

newsfragments/3833.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improve token permissions on ``ci-sage.yml`` -- by :user:`joycebrum`

0 commit comments

Comments
 (0)