Skip to content

Commit 426a85d

Browse files
committed
Enable CodeQL Analysis of GitHub Actions workflows
1 parent 33efc17 commit 426a85d

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
branches:
55
- main
6+
permissions:
7+
contents: read
68
jobs:
79
build:
810
name: Build and deploy
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Run CodeQL Analysis"
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: '45 0 * * 1'
8+
permissions: read-all
9+
jobs:
10+
run-analysis:
11+
permissions:
12+
actions: read
13+
contents: read
14+
security-events: write
15+
uses: spring-io/github-actions/.github/workflows/codeql-analysis.yml@6e66995f7d29de1e4ff76e4f0def7a10163fe910

0 commit comments

Comments
 (0)