Skip to content

Commit 1eab4d3

Browse files
committed
Update GitHub Actions.
See #3217
1 parent 4748a18 commit 1eab4d3

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# GitHub Actions for CodeQL Scanning
2+
3+
name: "CodeQL Advanced"
4+
5+
on:
6+
push:
7+
pull_request:
8+
workflow_dispatch:
9+
schedule:
10+
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule
11+
- cron: '0 5 * * *'
12+
13+
permissions: read-all
14+
15+
jobs:
16+
codeql-analysis-call:
17+
permissions:
18+
actions: read
19+
contents: read
20+
security-events: write
21+
uses: spring-io/github-actions/.github/workflows/codeql-analysis.yml@1

.github/workflows/project.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
pull_request_target:
1111
types: [opened, edited, reopened]
1212

13+
permissions:
14+
contents: read
15+
issues: write
16+
pull-requests: write
17+
1318
jobs:
1419
Inbox:
1520
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)