Skip to content

update run-on-push-to-rc workflow #885

update run-on-push-to-rc workflow

update run-on-push-to-rc workflow #885

name: 47 - Force Failure
on: [pull_request]
jobs:
print-message:
runs-on: ubuntu-latest
steps:
- run: echo ${{ github.event.commits[0].message }}
api-tests:
if: contains(github.event.commits[0].message, '[test_api]')
runs-on: ubuntu-latest
steps:
- run: echo hello world
not-api-tests:
if: "!contains(github.event.commits[0].message, '[test_api]')"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Force job failure
run: exit 1