Skip to content

Commit 2c5a184

Browse files
authored
refactor(workflows): Update code scanning workflow (#101)
* fix(docs): enable globbing in "Upgrading from Version 1?" section * PR comments * refactor(workflows): Update code scanning workflow * Update .github/workflows/codeql-analysis.yml * Update .github/workflows/codeql-analysis.yml * Apply suggestions from code review * Update .github/workflows/codeql-analysis.yml * Update .github/workflows/codeql-analysis.yml * Remove comments
1 parent 213fa21 commit 2c5a184

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches-ignore: dependabot/**
5+
pull_request:
66
schedule:
77
- cron: '38 18 * * 3'
88

99
jobs:
1010
analyze:
1111
name: Analyze
1212
runs-on: ubuntu-latest
13-
1413
permissions:
15-
actions: write
14+
actions: read
1615
contents: read
17-
pull-requests: read
1816
security-events: write
1917

2018
strategy:
@@ -26,6 +24,7 @@ jobs:
2624
- name: Checkout repository
2725
uses: actions/checkout@v2
2826

27+
# Initializes the CodeQL tools for scanning.
2928
- name: Initialize CodeQL
3029
uses: github/codeql-action/init@v1
3130
with:

0 commit comments

Comments
 (0)