Skip to content

Commit

Permalink
Merge pull request #3412 from github/kenyonj-patch-1
Browse files Browse the repository at this point in the history
Create check_successful_topics_or_collections_test.yml
  • Loading branch information
kenyonj committed Nov 29, 2022
2 parents 10a86d4 + c75e13c commit 7ddecec
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check_successful_topics_or_collections_test.yml
@@ -0,0 +1,21 @@
name: Topics/Collections Test

on:
workflow_run:
workflows: ["Topics Test", "Collections Test"]
types:
- completed

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check for Topics or Collections test failure
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
uses: actions/github-script@v3
with:
script: |
core.setFailed('Topics or Collections test failed!')
- name: Check for Topics or Collections test failure
if: ${{ github.event.workflow_run.conclusion == 'success' }}
run: echo "Success!"

0 comments on commit 7ddecec

Please sign in to comment.