Skip to content

Commit d9dcec4

Browse files
authored
ci: add skipping functionality (#835)
* ci: add skipping functionality * fix: some things
1 parent d287816 commit d9dcec4

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/bandit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: bandit
22
on: [pull_request, push]
33
jobs:
44
bandit:
5+
if: github.event.pull_request.user.type != 'Bot' && !contains(github.event.pull_request.labels.*.name, 'skip-ci')
56
runs-on: ubuntu-latest
67
steps:
78
- uses: actions/checkout@v2

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222

2323
jobs:
2424
analyze:
25+
if: github.event.pull_request.user.type != 'Bot' && !contains(github.event.pull_request.labels.*.name, 'skip-ci')
2526
name: Analyze
2627
runs-on: ubuntu-latest
2728
permissions:

.github/workflows/codespell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: codespell
22
on: [pull_request, push]
33
jobs:
44
codespell:
5+
if: github.event.pull_request.user.type != 'Bot' && !contains(github.event.pull_request.labels.*.name, 'skip-ci')
56
runs-on: ubuntu-latest
67
steps:
78
- uses: actions/checkout@v2

.github/workflows/mypy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: mypy
22
on: [pull_request, push]
33
jobs:
44
mypy:
5+
if: github.event.pull_request.user.type != 'Bot' && !contains(github.event.pull_request.labels.*.name, 'skip-ci')
56
runs-on: ubuntu-latest
67
steps:
78
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)