diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-08-18 18:39:55 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-08-18 18:46:56 +0200 |
commit | 702b1e8b81c889f72207b5b8d0478c300c8ccf3e (patch) | |
tree | 844cab5b0a0fbefa6e8c89f975c6237ce675fbcb /.circleci | |
parent | 73d32e7737082118a48adb8db3ff1ed7407f4d3f (diff) | |
download | hugo-702b1e8b81c889f72207b5b8d0478c300c8ccf3e.tar.gz hugo-702b1e8b81c889f72207b5b8d0478c300c8ccf3e.zip |
releaser: Rework the run conditions
Now after actually reading the CircleCI docs...
Closes #12753
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 0ff955936..3093b28d4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -96,6 +96,15 @@ jobs: workflows: version: 2 release: + when: + and: + - matches: + pattern: "^release-" + value: << pipeline.git.branch >> + - not: + matches: + pattern: "NOCIRCLECI" + value: << pipeline.trigger_parameters.github_app.commit_message >> jobs: - prepare_release: filters: |