Skip to content

Commit f33902e

Browse files
authored
Merge pull request #55 from rudderlabs/chore/sec-167-rb-facebook-ios
chore(vuln): scope workflow permissions to least privilege (SEC-167)
2 parents e4dfc15 + 19c25e2 commit f33902e

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/check-pr-title.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
branches: ['master']
55
types: ['opened', 'reopened', 'edited', 'synchronize']
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
check_pr_title:
912
name: Check PR title

.github/workflows/manage-github-issue-for-outdated-pods.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ on:
55
- cron: '0 0 * * 1'
66
workflow_dispatch:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
check-outdated-pods:
13+
permissions:
14+
contents: read
15+
issues: write
1016
runs-on: macos-latest
1117
name: Check outdate pods and create issue if it doesn't exist
1218
steps:

0 commit comments

Comments
 (0)