Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/add-labels-standardized.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ jobs:
ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }}
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v2

slack-notification:
needs: [add-issue-labels]
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-issue-labels.outputs.job-status) }}
secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
with:
job-status: ${{ needs.add-issue-labels.outputs.job-status }}
9 changes: 9 additions & 0 deletions .github/workflows/add-to-project-g2-python-dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ jobs:
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v2
with:
project: ${{ vars.SENZING_PROJECT_G2_PYTHON }}

slack-notification:
needs: [add-to-project-dependabot]
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project-dependabot.outputs.job-status) }}
secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
with:
job-status: ${{ needs.add-to-project-dependabot.outputs.job-status }}
9 changes: 9 additions & 0 deletions .github/workflows/add-to-project-g2-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ jobs:
classic: false
project-number: ${{ vars.SENZING_PROJECT_G2_PYTHON }}
org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}

slack-notification:
needs: [add-to-project]
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project.outputs.job-status) }}
secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
with:
job-status: ${{ needs.add-to-project.outputs.job-status }}
9 changes: 9 additions & 0 deletions .github/workflows/add-to-project-garage-dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ jobs:
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v2
with:
project: ${{ vars.SENZING_PROJECT_GARAGE }}

slack-notification:
needs: [add-to-project-dependabot]
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project-dependabot.outputs.job-status) }}
secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
with:
job-status: ${{ needs.add-to-project-dependabot.outputs.job-status }}
9 changes: 9 additions & 0 deletions .github/workflows/add-to-project-garage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ jobs:
classic: false
project-number: ${{ vars.SENZING_PROJECT_GARAGE }}
org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}

slack-notification:
needs: [add-to-project]
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project.outputs.job-status) }}
secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
with:
job-status: ${{ needs.add-to-project.outputs.job-status }}
2 changes: 2 additions & 0 deletions .github/workflows/bandit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: bandit

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: black

on: [push, pull_request]
on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

permissions:
contents: read
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/check-development-dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Check development dependencies

on: [pull_request]
on:
pull_request:
branches: [main]

permissions:
contents: read
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/flake8.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: flake8

on: [push, pull_request]
on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

permissions:
contents: read
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/isort.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: isort

on: [push, pull_request]
on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

permissions:
contents: read
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: mypy

on: [push, pull_request]
on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

permissions:
contents: read
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: pylint

on: [push]
on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

permissions:
contents: read
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/pytest-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ permissions:
jobs:
pytest-linux:
name: "pytest OS: ${{ matrix.os }}; Python ${{ matrix.python-version }}"
outputs:
status: ${{ job.status }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -84,3 +86,12 @@ jobs:
pull-requests: write
contents: write
uses: senzing-factory/build-resources/.github/workflows/python-coverage-comment.yaml@v2

slack-notification:
needs: [pytest-linux, coverage]
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.pytest-linux.outputs.status ) && contains(fromJSON('["failure", "cancelled"]'), needs.coverage.outputs.job-status ) && github.ref_name == github.event.repository.default_branch }}
secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
with:
job-status: ${{ needs.pytest-linux.outputs.status && needs.coverage.outputs.job-status }}
Loading