Skip to content

Commit 5ca7fb6

Browse files
authored
Merge pull request #138 from rudderlabs/chore/sec-167-rb-rudder-sdk-java
chore(vuln): scope workflow permissions to least privilege (SEC-167)
2 parents b240026 + e53d043 commit 5ca7fb6

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build-and-quality-checks.yml

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

8+
permissions:
9+
contents: read
10+
811
jobs:
912
unit_test_and_build:
1013
runs-on: ubuntu-latest

.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', 'develop' ]
55
types: [ 'opened', 'reopened', 'edited', 'synchronize' ]
66

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

0 commit comments

Comments
 (0)