Skip to content

Automated Pull Request From main to feature/test Branch #850

Automated Pull Request From main to feature/test Branch

Automated Pull Request From main to feature/test Branch #850

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