Skip to content

Commit d8185e6

Browse files
authored
Update codeql-action README to use v2 (#58)
1 parent 0c78770 commit d8185e6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
uses: MetaMask/action-security-code-scanner/.github/workflows/security-scan.yml@v2
2727
with:
2828
scanner-ref: v2
29+
permissions:
30+
actions: read
31+
contents: read
32+
security-events: write
2933
```
3034
3135
The workflow will:

packages/codeql-action/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ name: Security Scan
4242
on: [push, pull_request]
4343

4444
jobs:
45-
security:
46-
uses: metamask/security-codescanner-monorepo/.github/workflows/security-scan.yml@main
45+
security-scan:
46+
uses: MetaMask/action-security-code-scanner/.github/workflows/security-scan.yml@v2
4747
with:
48-
repo: ${{ github.repository }}
48+
scanner-ref: v2
4949
permissions:
5050
actions: read
5151
contents: read

0 commit comments

Comments
 (0)