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-app-server-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_APP_SERVER }}

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-app-server.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_APP_SERVER}}
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 }}
11 changes: 11 additions & 0 deletions .github/workflows/npm-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ permissions:
jobs:
npm-build:
name: build, compile, and test angular components
outputs:
status: ${{ job.status }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -40,3 +42,12 @@ jobs:
- name: ensure web components package compiles
run: |
npm run build:web

slack-notification:
needs: [npm-build]
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.npm-build.outputs.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.npm-build.outputs.status }}