Skip to content

Commit 882dc0b

Browse files
committed
Added pull_request to actions
1 parent d41fe7c commit 882dc0b

File tree

7 files changed

+35
-7
lines changed

7 files changed

+35
-7
lines changed

.github/workflows/bandit.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: bandit - Python Scan
22

3-
on: push
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
48

59
jobs:
610
build:

.github/workflows/cfn-nag.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: cfn-nag - CloudFormation Scan
22

3-
on: push
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
48

59
jobs:
610
build:

.github/workflows/checkov.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: checkov - CloudFormation Scan
22

3-
on: push
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
48

59
jobs:
610
build:

.github/workflows/markdown-links.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Markdown Link Check
22

3-
on: push
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
48

59
jobs:
610
markdown-link-check:

.github/workflows/pylic.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: pylic - Python License Check
22

3-
on: push
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
48

59
jobs:
610
Linting:

.github/workflows/safety.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: safety - Python Dependency Check
22

3-
on: push
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
48

59
jobs:
610
Linting:

.github/workflows/static-checking.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Static Checks (mypy, flake8, black, isort)
22

3-
on: push
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
48

59
jobs:
610
Linting:

0 commit comments

Comments
 (0)