Skip to content

Commit

Permalink
added condidtion to not run post build steps on main branch (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-e-dietrich authored Jul 23, 2024
1 parent 8c7db13 commit 10b41b2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,13 @@ jobs:
# include_job_number_field: false
# include_project_field: false
# webhook: https://hooks.slack.com/services/T02BTKQ5F/B0225B1RPV1/9999111100000
- ci-tools/trigger-pipeline:
parameters: '{"run_post_build_tests":true}'
- when:
condition:
not:
equal: [ main, << pipeline.git.branch >> ]
steps:
- ci-tools/trigger-pipeline:
parameters: '{"run_post_build_tests":true}'

workflows:

Expand Down

0 comments on commit 10b41b2

Please sign in to comment.