summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Duffield <tom@chef.io>2021-07-01 16:52:16 -0500
committerGitHub <noreply@github.com>2021-07-01 16:52:16 -0500
commit2073582a4216cbaead0e2fa19ae46a94ee167610 (patch)
treee7af39784740f36af9fa0cc65a16eed57204ae1f
parent32a53fe16be55d8dc2ea483322aa215ed9531494 (diff)
parenta0a1a5ef435587f5f7e384aa5b3cc53efd548ddd (diff)
downloadmixlib-shellout-2073582a4216cbaead0e2fa19ae46a94ee167610.tar.gz
Merge pull request #231 from chef/Main/update-expeditor-configuration
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 a3d4b3d..f550cf8 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -25,25 +25,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: