What should you add to the following YAML file so that the workflow does not fail?
name: Prevent failure
on: push
jobs:
first:
runs-on: ubuntu-latest
steps:
- id: step1
run: exit 1
- run: echo "Hello world!"What should you add to the following YAML file so that the workflow does not fail?
name: Prevent failure
on: push
jobs:
first:
runs-on: ubuntu-latest
steps:
- id: step1
run: exit 1
- run: echo "Hello world!"Create a free account to access the full topic