From 95588ef7c5d70b6aab21c840be900c0926b0b52f Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Wed, 22 May 2024 13:34:34 +0200 Subject: [PATCH 1/3] ci: fix typo when bump axoned version commit message --- .github/workflows/bump-axoned-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-axoned-version.yml b/.github/workflows/bump-axoned-version.yml index 4b39ed986f1..39db565a223 100644 --- a/.github/workflows/bump-axoned-version.yml +++ b/.github/workflows/bump-axoned-version.yml @@ -39,4 +39,4 @@ jobs: commit_user_name: ${{ vars.BOT_GIT_COMMITTER_NAME }} commit_user_email: ${{ vars.BOT_GIT_COMMITTER_EMAIL }} commit_author: ${{ vars.BOT_GIT_AUTHOR_NAME }} <${{ vars.BOT_GIT_AUTHOR_EMAIL }}> - commit_message: "build: bump zxoned version to ${{ github.event.inputs.axonedVersion }}" + commit_message: "build: bump axoned version to ${{ github.event.inputs.axonedVersion }}" From bc374f2c06f11e68ed0a407d7643119af8b92ce4 Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Wed, 22 May 2024 13:54:52 +0200 Subject: [PATCH 2/3] ci: cancel in progress update version if is draft --- .github/workflows/update-versioned-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-versioned-docs.yml b/.github/workflows/update-versioned-docs.yml index e0b6e6af1bc..73be9a16c38 100644 --- a/.github/workflows/update-versioned-docs.yml +++ b/.github/workflows/update-versioned-docs.yml @@ -1,8 +1,8 @@ name: Update versioned docs concurrency: - group: update-docs-${{ github.ref }} - cancel-in-progress: false + group: update-docs-${{ github.ref }}-${{ github.event.inputs.section }} + cancel-in-progress: ${{ github.event.inputs.draft == 'true' }} on: workflow_dispatch: From a82429c2ecab0fba05fe9de06fe2b7a04ffffd25 Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Wed, 22 May 2024 13:55:25 +0200 Subject: [PATCH 3/3] ci: add predicates examples on workflow dispatch inputs --- .github/workflows/update-versioned-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-versioned-docs.yml b/.github/workflows/update-versioned-docs.yml index 73be9a16c38..6de03951805 100644 --- a/.github/workflows/update-versioned-docs.yml +++ b/.github/workflows/update-versioned-docs.yml @@ -14,7 +14,7 @@ on: description: "Set the repository that docs has been updated (axone-protocol/contracts | axone-protocol/axoned)" required: true section: - description: "Which section will be update (contracts | modules | commands)" + description: "Which section will be update (contracts | modules | commands | predicates)" required: true docs_directory: description: "On which directory documentation is located (docs/* | docs/proto/* | docs/command/*)"