From f3b80ea32ebe713302a4c4622c54f742a357df92 Mon Sep 17 00:00:00 2001 From: Swati Keshari Date: Tue, 29 Jun 2021 17:17:27 +0530 Subject: [PATCH] Updating expeditor configuration Signed-off-by: Swati Keshari --- .expeditor/config.yml | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/.expeditor/config.yml b/.expeditor/config.yml index 56a756889..cc9425f0c 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -24,26 +24,28 @@ 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 - - bash:.expeditor/build_docs.sh - - 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 + - bash:.expeditor/build_docs.sh + - 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: