Skip to content

Commit 641d181

Browse files
authored
Merge branch 'main' into dependabot/bundler/rubocop-1.84.0
2 parents 550c446 + 29da47f commit 641d181

2 files changed

Lines changed: 19 additions & 10 deletions

File tree

.github/workflows/lint-test.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,3 @@ jobs:
5050

5151
- name: Run tests
5252
run: bundle exec rspec spec
53-
54-
notify_on_failure:
55-
if: failure()
56-
needs: [lint, test]
57-
uses: tulibraries/.github/.github/workflows/slack-notify.yml@main
58-
with:
59-
repo: ${{ github.repository }}
60-
run_id: ${{ github.run_id }}
61-
workflow: ${{ github.workflow }}
62-
secrets: inherit
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Workflow Failure Notify
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
workflow_run:
8+
workflows: ["Lint and Test"]
9+
types: [completed]
10+
11+
jobs:
12+
notify_on_failure:
13+
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
14+
uses: tulibraries/.github/.github/workflows/slack-notify.yml@main
15+
with:
16+
repo: ${{ github.event.workflow_run.repository.full_name }}
17+
run_id: ${{ github.event.workflow_run.id }}
18+
workflow: ${{ github.event.workflow_run.name }}
19+
secrets: inherit

0 commit comments

Comments
 (0)