Skip to content

Commit

Permalink
ci(codeql): remove on:push (#857)
Browse files Browse the repository at this point in the history
Resolves the following error:

```
Error: Workflows triggered by Dependabot on the "push" event run
with read-only access. Uploading Code Scanning results requires
write access. To use Code Scanning with Dependabot, please ensure
you are using the "pull_request" event for this workflow and avoid
triggering on the "push" event for Dependabot branches. (...)
```
  • Loading branch information
caugner authored Aug 22, 2022
1 parent d320f8a commit 7d0f12b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: "CodeQL"

on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
Expand Down

0 comments on commit 7d0f12b

Please sign in to comment.