Skip to content

Commit e2237bd

Browse files
committed
Enable CodeQL Analysis of GitHub Actions
1 parent 2417625 commit e2237bd

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.github/workflows/build-and-deploy-snapshot.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
concurrency:
79
group: ${{ github.workflow }}-${{ github.ref }}
810
jobs:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
tags:
55
- v1.1.[0-9]+
6+
permissions:
7+
contents: read
68
concurrency:
79
group: ${{ github.workflow }}-${{ github.ref }}
810
jobs:
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)