Skip to content

Commit 412d751

Browse files
authored
Change code scan actions to run on pull requests (#2)
* add test file * change codescanning workflows to run on PRs * remove test file
1 parent a584b8c commit 412d751

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/bandit.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
on:
2-
push:
3-
branches:
4-
- "pull-request/[0-9]+"
5-
- "main"
2+
pull_request:
3+
branches: [main]
64

75
jobs:
86
analyze:

.github/workflows/codeql.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: "CodeQL Scan"
22

33
on:
4-
push:
5-
branches:
6-
- "pull-request/[0-9]+"
7-
- "main"
4+
pull_request:
5+
branches: [main]
86

97
jobs:
108
analyze:

0 commit comments

Comments
 (0)