Skip to content

Commit

Permalink
docs: Move when clause under workflow declaration—not workflows (#19)
Browse files Browse the repository at this point in the history
See the following workflows CircleCI documentation for more details:
https://circleci.com/docs/2.0/pipeline-variables/#conditional-workflows
  • Loading branch information
Max Bigras authored Jul 11, 2022
1 parent ef1944e commit d8e1aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ workflows:
# This workflow is set to be conditionally triggered,
# only via the GitHub Action.
# With no other unfiltered workflows, normal push events will be ignored.
when: << pipeline.parameters.GHA_Action >>
test:
when: << pipeline.parameters.GHA_Action >>
jobs:
- test
```

0 comments on commit d8e1aed

Please sign in to comment.