summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwati Keshari <skeshari@msystechnologies.com>2021-07-01 15:58:29 +0530
committerSwati Keshari <skeshari@msystechnologies.com>2021-07-01 15:58:29 +0530
commit083bc56edf59bbddc492f8c9e8e4a8f9b1327b01 (patch)
treea580f08742e3faa6b0730b2e503c491cda81b397
parentc728f36682ff9b121da9ae3f455c71b64e3eeb49 (diff)
downloadmixlib-authentication-083bc56edf59bbddc492f8c9e8e4a8f9b1327b01.tar.gz
Updating expeditor configurations
Signed-off-by: Swati Keshari <skeshari@msystechnologies.com>
-rw-r--r--.expeditor/config.yml38
1 files changed, 20 insertions, 18 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index 16d7487..83fd3a6 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -24,25 +24,27 @@ 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
+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
-promote:
- actions:
- - built_in:rollover_changelog
- - built_in:publish_rubygems
+ - workload: project_promoted:{{agent_id}}:*
+ actions:
+ - built_in:rollover_changelog
+ - built_in:publish_rubygems
pipelines:
- verify: