Skip to content

Commit 0662163

Browse files
committed
cleanup
1 parent 2cc8121 commit 0662163

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/bandit.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: bandit
22

33
on:
4+
push:
5+
branches-ignore: [main]
46
pull_request:
57
branches: [main]
68

.github/workflows/black.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ permissions:
1212
jobs:
1313
black:
1414
name: black Python ${{ matrix.python-version }}
15-
outputs:
16-
status: ${{ job.status }}
1715
runs-on: ubuntu-latest
1816
strategy:
1917
fail-fast: false
@@ -42,12 +40,3 @@ jobs:
4240
run: |
4341
# shellcheck disable=SC2046
4442
black --diff --check $(git ls-files '*.py' ':!:docs/source/*')
45-
46-
slack-notification:
47-
needs: [black]
48-
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.black.outputs.status ) && github.ref_name == github.event.repository.default_branch }}
49-
secrets:
50-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
51-
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
52-
with:
53-
job-status: ${{ needs.black.outputs.status }}

0 commit comments

Comments
 (0)