Skip to content

Commit 4c7eec3

Browse files
authored
Merge pull request #71 from Mu2e/alert-autofix-7
Fix missing permissions in all GitHub Actions workflows
2 parents 3488915 + 3343313 commit 4c7eec3

4 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/git-whitespace.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- cron: "0 7 * * *"
1515
workflow_dispatch:
1616

17+
permissions:
18+
contents: read
19+
1720
jobs:
1821
check_whitespace_dispatch:
1922
name: Check Git whitespace

.github/workflows/mu2e-format-single-pkg.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- cron: "0 7 * * *"
1515
workflow_dispatch:
1616

17+
permissions:
18+
contents: read
19+
1720
jobs:
1821

1922
build_single_pkg:

.github/workflows/track_new_issues.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
types:
55
- opened
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
track_issue:
912
runs-on: ubuntu-latest

.github/workflows/track_new_prs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
pull_request:
44
types:
55
- opened
6+
7+
permissions:
8+
contents: read
9+
610
jobs:
711
track_issue:
812
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)