Skip to content

Commit 487dafd

Browse files
authored
Fix CodeQL GH workflow permissions (golang-templates#216)
1 parent 9415e68 commit 487dafd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/codeql-analysis.yml renamed to .github/workflows/codeql.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ on:
1212

1313
jobs:
1414
analyze:
15-
name: Analyze
15+
permissions:
16+
security-events: write
17+
actions: read
18+
contents: read
19+
1620
runs-on: ubuntu-latest
1721

1822
strategy:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535

3636
- Add `workflow_dispatch` to all workflows. ([#204](https://github.com/golang-templates/seed/pull/204))
3737
- Fix docker image name. ([#205](https://github.com/golang-templates/seed/pull/205))
38+
- Fix CodeQL GH workflow permissions. ([#216](https://github.com/golang-templates/seed/pull/216))
3839

3940
## [0.15.0](https://github.com/golang-templates/seed/releases/tag/v0.15.0)
4041

0 commit comments

Comments
 (0)