Skip to content

Commit 7496402

Browse files
authored
Merge pull request #56 from trimble-oss/alert-autofix-261
Potential fix for code scanning alert no. 261: Workflow does not contain permissions
2 parents 99894fb + 7509dec commit 7496402

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/bump-dependency.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Bump Deps
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
issues: write
7+
38
on:
49
repository_dispatch:
510
types: [ bump-dependency ]

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Test
22
on: [pull_request]
3+
permissions:
4+
contents: read
35

46
concurrency:
57
group: test-${{ github.event.pull_request.number || github.ref }}

0 commit comments

Comments
 (0)