summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Duffield <tom@chef.io>2021-07-01 16:49:53 -0500
committerGitHub <noreply@github.com>2021-07-01 16:49:53 -0500
commit088a9df2ac7e2c533e0d095e8211b08ef3f7fed6 (patch)
treecd0f210f0c0427922c3cab7edc1755673c3efe83
parentb5e8f7780d7ef11d1a438565c619c5d19a602018 (diff)
parentd31eb5b4fd904e148259e1ce86d816f6281bea24 (diff)
downloadmixlib-log-088a9df2ac7e2c533e0d095e8211b08ef3f7fed6.tar.gz
Merge pull request #64 from chef/update-expeditor-configurationmaster
Updating expeditor configurations
-rw-r--r--.expeditor/config.yml39
1 files changed, 20 insertions, 19 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index 5283bc0..22ab67a 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -24,25 +24,26 @@ github:
changelog:
rollup_header: Changes not yet released to rubygems.org
-# These actions are taken, in order they are specified, anytime a Pull Request is merged.
-merge_actions:
- - built_in:bump_version:
- ignore_labels:
- - "Expeditor: Skip Version Bump"
- - "Expeditor: Skip All"
- - bash:.expeditor/update_version.sh:
- only_if: built_in:bump_version
- - built_in:update_changelog:
- ignore_labels:
- - "Expeditor: Skip Changelog"
- - "Expeditor: Skip All"
- - built_in:build_gem:
- only_if: built_in:bump_version
-
-promote:
- actions:
- - built_in:rollover_changelog
- - built_in:publish_rubygems
+subscriptions:
+ # These actions are taken, in order they are specified, anytime a Pull Request is merged.
+ - workload: pull_request_merged:{{github_repo}}:{{release_branch}}:*
+ actions:
+ - built_in:bump_version:
+ ignore_labels:
+ - "Expeditor: Skip Version Bump"
+ - "Expeditor: Skip All"
+ - bash:.expeditor/update_version.sh:
+ only_if: built_in:bump_version
+ - built_in:update_changelog:
+ ignore_labels:
+ - "Expeditor: Skip Changelog"
+ - "Expeditor: Skip All"
+ - built_in:build_gem:
+ only_if: built_in:bump_version
+ - workload: project_promoted:{{agent_id}}:*
+ actions:
+ - built_in:rollover_changelog
+ - built_in:publish_rubygems
pipelines:
- verify: