Skip to content

Commit 114b7d5

Browse files
authored
Merge pull request #4677 from sashashura/patch-1
GitHub Workflows security hardening
2 parents ea6f69d + adab785 commit 114b7d5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/add-to-project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
types:
1010
- opened
1111

12+
permissions: {}
1213
jobs:
1314
add-to-project:
1415
name: Add new bugs and PRs to This Week project

.github/workflows/testing.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
schedule:
66
- cron: '0 0 * * *'
77

8+
permissions:
9+
contents: read # to fetch code (actions/checkout)
10+
811
jobs:
912
test:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)