From d0efad62286928e3a9dbc7b7e6d78abbc7881dc0 Mon Sep 17 00:00:00 2001 From: Paul Newling Date: Mon, 26 Oct 2026 14:31:10 +0100 Subject: [PATCH 1/3] node-simple-pnpm: publish without the stable channel when the merged PR is labelled mark-unstable --- .github/workflows/node-simple-pnpm.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node-simple-pnpm.yaml b/.github/workflows/node-simple-pnpm.yaml index cebe6967..d9d3bd0b 100644 --- a/.github/workflows/node-simple-pnpm.yaml +++ b/.github/workflows/node-simple-pnpm.yaml @@ -1095,15 +1095,35 @@ jobs: env: USER_ID: ${{ steps.get-user-id.outputs.user-id }} APP_SLUG: ${{ steps.app-token.outputs.app-slug }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: run: | git config --global user.name "${APP_SLUG}[bot]" git config --global user.email "${USER_ID}+${APP_SLUG}[bot]@users.noreply.github.com>" git checkout main git add . - git commit -m "Auto-generated changes" + # A merged PR labelled `mark-unstable` adds a trailer that the + # publish run on this commit reads. + labels=$(gh api "repos/${GITHUB_REPOSITORY}/commits/${GITHUB_SHA}/pulls" --jq '.[].labels[].name') + msg="Auto-generated changes" + if grep -qx 'mark-unstable' <<< "${labels}"; then + msg+=$'\n\nPublish-Unstable: true' + fi + git commit -m "${msg}" git push + # `block-tools publish` reads PL_PUBLISH_UNSTABLE as `--unstable`. Any + # value turns it on, `false` included, so set it only for the trailer. + - name: Publish without the stable channel if the commit says so + if: github.ref_name == 'main' + && steps.check-changes.outputs.has-changes == '0' + shell: bash + run: | + if [ "$(git log -1 --format='%(trailers:key=Publish-Unstable,valueonly)' "${GITHUB_SHA}")" = true ]; then + echo "PL_PUBLISH_UNSTABLE=true" >> "${GITHUB_ENV}" + echo "::notice title=Unstable release::Publishing without the stable channel: commit ${GITHUB_SHA::7} carries Publish-Unstable: true" + fi + # npm publish is split for trusted publishing (OIDC), which npm accepts # only from GitHub-hosted runners. Everything but the upload happens # here, next to the build (prepublishOnly needs AWS/registry access); From 6b1378c9d600a430135e876cbe3e5ccb68c7f0bd Mon Sep 17 00:00:00 2001 From: Vladimir Antropov Date: Tue, 27 Oct 2026 09:30:46 +0100 Subject: [PATCH 2/3] fix(notify/slack): JSON-encode the commit message in Slack payloads build-ready, build-failed, publish and tests pasted the raw head commit message into a JSON string. A message with quotes, braces or backticks (a squashed PR body) broke the payload: slack-github-action failed with 'missed comma between flow collection entries', and in docker-ecr-argocd that failed build-app and skipped the ArgoCD values update (mistat2 #5). The message now goes through nunjucks 'dump' (JSON.stringify) and is cut to 2900 characters, under Slack's 3000-character limit for a text field. --- actions/notify/slack/build-failed/action.yaml | 2 +- actions/notify/slack/build-ready/action.yaml | 2 +- actions/notify/slack/publish/action.yaml | 2 +- actions/notify/slack/tests/action.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/actions/notify/slack/build-failed/action.yaml b/actions/notify/slack/build-failed/action.yaml index 02592665..a23811a4 100644 --- a/actions/notify/slack/build-failed/action.yaml +++ b/actions/notify/slack/build-failed/action.yaml @@ -86,7 +86,7 @@ runs: "type": "section", "text": { "type": "mrkdwn", - "text": "*Commit message:*\n{{ head_commit_message }}" + "text": {{ ("*Commit message:*\n" ~ (head_commit_message | truncate(2900, true))) | dump }} } }, {% if additional_info | length > 0 %} diff --git a/actions/notify/slack/build-ready/action.yaml b/actions/notify/slack/build-ready/action.yaml index 1ec4a3d2..406ec088 100644 --- a/actions/notify/slack/build-ready/action.yaml +++ b/actions/notify/slack/build-ready/action.yaml @@ -108,7 +108,7 @@ runs: "type": "section", "text": { "type": "mrkdwn", - "text": "*Commit message:*\n{{ head_commit_message }}" + "text": {{ ("*Commit message:*\n" ~ (head_commit_message | truncate(2900, true))) | dump }} } }, {% if docker_images | length > 0 %} diff --git a/actions/notify/slack/publish/action.yaml b/actions/notify/slack/publish/action.yaml index b4a93078..86303fce 100644 --- a/actions/notify/slack/publish/action.yaml +++ b/actions/notify/slack/publish/action.yaml @@ -114,7 +114,7 @@ runs: "type": "section", "text": { "type": "mrkdwn", - "text": "*Commit message:*\n{{ head_commit_message }}" + "text": {{ ("*Commit message:*\n" ~ (head_commit_message | truncate(2900, true))) | dump }} } }, { diff --git a/actions/notify/slack/tests/action.yaml b/actions/notify/slack/tests/action.yaml index 1c75e58e..d77c2762 100644 --- a/actions/notify/slack/tests/action.yaml +++ b/actions/notify/slack/tests/action.yaml @@ -106,7 +106,7 @@ runs: "type": "section", "text": { "type": "mrkdwn", - "text": "*Commit message:*\n{{ head_commit_message }}" + "text": {{ ("*Commit message:*\n" ~ (head_commit_message | truncate(2900, true))) | dump }} } }, {% if additional_info | length > 0 %} From 49d15baefcb84a575857a604464cbec2b4acdd03 Mon Sep 17 00:00:00 2001 From: Vladimir Antropov Date: Tue, 27 Oct 2026 09:50:27 +0100 Subject: [PATCH 3/3] Re-flip @v4 -> @v4-beta after merging v4 --- .github/workflows/0-scan-containers.yaml | 8 +- .github/workflows/block-mark-stable.yaml | 20 +-- .github/workflows/deploy-docs.yaml | 28 ++-- .github/workflows/docker-github.yaml | 18 +- .github/workflows/java-gradle.yaml | 154 +++++++++--------- .../node-docker-simple-fast-pnpm.yaml | 26 +-- .github/workflows/node-go-simple.yaml | 52 +++--- .github/workflows/node-matrix-pnpm.yaml | 68 ++++---- .github/workflows/node-matrix.yaml | 60 +++---- .github/workflows/node-simple-pnpm-k8s.yaml | 12 +- .github/workflows/node-simple-pnpm.yaml | 76 ++++----- .github/workflows/node-simple.yaml | 50 +++--- actions/action-test/action.yaml | 2 +- actions/artifact/save/action.yaml | 2 +- actions/artifact/write-metadata/action.yaml | 8 +- actions/aws/cloudfront/action.yaml | 2 +- actions/aws/prefix-delete/action.yaml | 2 +- actions/ccache/action.yaml | 2 +- actions/context/action.yaml | 2 +- actions/context/get/action.yaml | 2 +- actions/context/init/action.yaml | 2 +- actions/docker/build/action.yaml | 2 +- actions/docker/pl-compose/action.yaml | 6 +- actions/docker/push/action.yaml | 8 +- actions/docker/scan-docker-repo/action.yaml | 4 +- actions/docker/scan-pnpm-repo/action.yaml | 2 +- actions/env/action.yaml | 4 +- actions/env/set/action.yaml | 4 +- actions/gcloud-kms-sign/action.yaml | 2 +- actions/gcp/prefix-delete/action.yaml | 2 +- actions/git/auth/action.yaml | 2 +- actions/golang/prepare/action.yaml | 2 +- actions/helpers/default-value/action.yaml | 2 +- actions/helpers/jq/action.yaml | 2 +- actions/helpers/merge-status/action.yaml | 2 +- actions/helpers/safe-ctx/action.yaml | 2 +- actions/java/gradle/cache/action.yaml | 2 +- .../java/gradle/properties/read/action.yaml | 2 +- .../java/gradle/properties/set/action.yaml | 2 +- actions/k8s/helm-deployment/action.yaml | 2 +- actions/node/npm-pkg-status/action.yaml | 6 +- actions/node/prepare-pnpm/action.yaml | 6 +- actions/node/prepare/action.yaml | 4 +- actions/notify/slack/build-failed/action.yaml | 6 +- actions/notify/slack/build-ready/action.yaml | 6 +- .../slack/deployment-cancelled/action.yaml | 6 +- .../slack/deployment-failed/action.yaml | 6 +- .../slack/deployment-success/action.yaml | 6 +- actions/notify/slack/publish/action.yaml | 6 +- .../notify/slack/release-failed/action.yaml | 6 +- .../notify/slack/release-ready/action.yaml | 6 +- .../notify/slack/review-required/action.yaml | 8 +- .../notify/slack/test-regression/action.yaml | 6 +- actions/notify/slack/tests/action.yaml | 6 +- .../notify/telegram/build-failed/action.yaml | 6 +- .../notify/telegram/build-ready/action.yaml | 6 +- .../telegram/deployment-cancelled/action.yaml | 6 +- .../telegram/deployment-failed/action.yaml | 6 +- .../telegram/deployment-success/action.yaml | 6 +- actions/notify/telegram/publish/action.yaml | 6 +- .../telegram/release-failed/action.yaml | 6 +- .../notify/telegram/release-ready/action.yaml | 6 +- .../telegram/review-required/action.yaml | 8 +- .../telegram/test-regression/action.yaml | 6 +- actions/notify/telegram/tests/action.yaml | 6 +- actions/python/prepare/action.yaml | 2 +- actions/release/create/action.yaml | 2 +- actions/rust/prepare/action.yaml | 2 +- actions/strings/convert-paths/action.yaml | 2 +- actions/strings/join/action.yaml | 2 +- actions/strings/json-list/action.yaml | 2 +- actions/strings/prefix/action.yaml | 2 +- actions/templates/jinja/action.yaml | 10 +- blocks/java/build/action.yaml | 18 +- blocks/java/publish/docker/action.yaml | 6 +- blocks/java/test/action.yaml | 28 ++-- .../monorepo/build-and-test-pnpm/action.yaml | 2 +- .../monorepo/test-pl-docker-pnpm/action.yaml | 8 +- blocks/monorepo/test-pl-k8s-pnpm/action.yaml | 2 +- blocks/node/build-and-publish/action.yaml | 14 +- blocks/node/build-and-test-pnpm/action.yaml | 8 +- blocks/node/build/generic/action.yaml | 4 +- blocks/node/test/action.yaml | 4 +- blocks/notify/build/action.yaml | 14 +- blocks/notify/deployment/action.yaml | 12 +- blocks/notify/publish/action.yaml | 10 +- blocks/notify/release/action.yaml | 14 +- blocks/notify/review-required/action.yaml | 4 +- blocks/notify/slack/build/action.yaml | 14 +- blocks/notify/slack/deployment/action.yaml | 12 +- blocks/notify/slack/publish/action.yaml | 10 +- blocks/notify/slack/release/action.yaml | 14 +- .../notify/slack/review-required/action.yaml | 4 +- .../notify/slack/test-regression/action.yaml | 8 +- blocks/notify/slack/tests/action.yaml | 10 +- blocks/notify/test-regression/action.yaml | 8 +- blocks/notify/tests/action.yaml | 10 +- .../pl/linux/test-pl-docker-pnpm/action.yaml | 12 +- blocks/release/registry-bin/action.yaml | 20 +-- blocks/release/s3/action.yaml | 34 ++-- .../signing-tools/macos-notarize/action.yaml | 2 +- blocks/signing-tools/macos-sign/action.yaml | 2 +- blocks/signing-tools/windows-sign/action.yaml | 2 +- blocks/update-cdn-link/action.yaml | 2 +- blocks/update-s3-latest/action.yaml | 22 +-- 105 files changed, 580 insertions(+), 580 deletions(-) diff --git a/.github/workflows/0-scan-containers.yaml b/.github/workflows/0-scan-containers.yaml index 50057c0f..0e938377 100644 --- a/.github/workflows/0-scan-containers.yaml +++ b/.github/workflows/0-scan-containers.yaml @@ -51,7 +51,7 @@ jobs: mkdir -p scan-chunks printf '%s\n' "${IMAGE}" > scan-chunks/single-image - - uses: milaboratory/github-ci/actions/docker/scan-docker-repo@v4 + - uses: milaboratory/github-ci/actions/docker/scan-docker-repo@v4-beta with: mode: scan report-name: "report-single-image" @@ -67,7 +67,7 @@ jobs: if: github.event.inputs.image == '' steps: - - uses: milaboratory/github-ci/actions/docker/scan-docker-repo@v4 + - uses: milaboratory/github-ci/actions/docker/scan-docker-repo@v4-beta id: plan with: mode: plan @@ -108,7 +108,7 @@ jobs: sl=$((RANDOM % 10)) sleep ${sl} - - uses: milaboratory/github-ci/actions/docker/scan-docker-repo@v4 + - uses: milaboratory/github-ci/actions/docker/scan-docker-repo@v4-beta with: mode: scan report-name: "report-${{ matrix.plan-file }}" @@ -136,7 +136,7 @@ jobs: path: ./consolidated - name: Summarize all reports - uses: milaboratory/github-ci/actions/docker/scan-docker-repo@v4 + uses: milaboratory/github-ci/actions/docker/scan-docker-repo@v4-beta with: mode: summarize summarize-dir: ./consolidated diff --git a/.github/workflows/block-mark-stable.yaml b/.github/workflows/block-mark-stable.yaml index 92604e3f..b4d14481 100644 --- a/.github/workflows/block-mark-stable.yaml +++ b/.github/workflows/block-mark-stable.yaml @@ -159,7 +159,7 @@ jobs: runs-on: ubuntu-latest steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta outputs: @@ -176,7 +176,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - id: npm-pkg-metadata - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: BLOCK_PATH: ${{ inputs.block-path }} with: @@ -199,7 +199,7 @@ jobs: id-token: write contents: write steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -219,7 +219,7 @@ jobs: mask-password: 'true' - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta env: PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }} with: @@ -230,13 +230,13 @@ jobs: npmrc-config: ${{ inputs.npmrc-config }} - name: Install NodeJS packages with pnpm - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | pnpm install --frozen-lockfile --prefer-offline - name: Mark package as stable - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: BLOCK_PATH: ${{ inputs.block-path }} with: @@ -254,12 +254,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | mark-as-stable - - uses: milaboratory/github-ci/blocks/notify/release@v4 + - uses: milaboratory/github-ci/blocks/notify/release@v4-beta env: NPM_PKG_VERSION: ${{ needs.metadata.outputs.npm-pkg-version }} with: @@ -282,12 +282,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | mark-as-stable - - uses: milaboratory/github-ci/blocks/notify/slack/release@v4 + - uses: milaboratory/github-ci/blocks/notify/slack/release@v4-beta env: NPM_PKG_VERSION: ${{ needs.metadata.outputs.npm-pkg-version }} with: diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index 9d5d9dea..7184f4cb 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -177,14 +177,14 @@ jobs: runs-on: ubuntu-latest steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta build: name: :build runs-on: ubuntu-latest needs: - init steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -193,7 +193,7 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} @@ -204,19 +204,19 @@ jobs: python-version: ${{ inputs.python-version }} cache: 'pip' - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | sudo apt-get install -y graphviz - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | sudo curl -s -L "https://github.com/plantuml/plantuml/releases/download/v${{ inputs.plantuml-version }}/plantuml-${{ inputs.plantuml-version }}.jar" --output /opt/plantuml.jar - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | @@ -224,13 +224,13 @@ jobs: echo 'java $PLANTUML_JAVAOPTS -jar /opt/plantuml.jar ${@}' >> /usr/local/bin/plantuml chmod +x /usr/local/bin/plantuml - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | pip install pip==24.0 && pip install -r requirements.txt - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | @@ -255,12 +255,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | build - - uses: milaboratory/github-ci/blocks/notify/build@v4 + - uses: milaboratory/github-ci/blocks/notify/build@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -280,14 +280,14 @@ jobs: contents: read steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - uses: actions/download-artifact@v4 with: name: ${{ inputs.app-name-slug }} path: ${{ inputs.app-name-slug }} - - uses: milaboratory/github-ci/actions/aws/cloudfront@v4 + - uses: milaboratory/github-ci/actions/aws/cloudfront@v4-beta with: aws-iam-role-to-assume: ${{ inputs.aws-iam-role-to-assume }} aws-region: ${{ inputs.aws-region }} @@ -309,12 +309,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | deployment - - uses: milaboratory/github-ci/blocks/notify/deployment@v4 + - uses: milaboratory/github-ci/blocks/notify/deployment@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} diff --git a/.github/workflows/docker-github.yaml b/.github/workflows/docker-github.yaml index 898c7fd6..90076f2e 100644 --- a/.github/workflows/docker-github.yaml +++ b/.github/workflows/docker-github.yaml @@ -178,7 +178,7 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta outputs: is-release: ${{ steps.context.outputs.is-release }} @@ -195,23 +195,23 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} gpg-key-password: ${{ secrets.GIT_CRYPT_KEY_PASSWORD }} - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Build Docker Image - uses: milaboratory/github-ci/actions/docker/build@v4 + uses: milaboratory/github-ci/actions/docker/build@v4-beta with: dockerfile: ${{ inputs.dockerfile }} context: ${{ inputs.build-context }} tags: 'build:local' - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta id: tags env: PUSH_DEV_TARGETS: ${{ inputs.push-dev-targets }} @@ -286,7 +286,7 @@ jobs: done done - - uses: milaboratory/github-ci/actions/docker/push@v4 + - uses: milaboratory/github-ci/actions/docker/push@v4-beta id: push with: source: 'build:local' @@ -309,7 +309,7 @@ jobs: - build steps: - - uses: milaboratory/github-ci/blocks/notify/build@v4 + - uses: milaboratory/github-ci/blocks/notify/build@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -331,11 +331,11 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: create-release name: Create release - uses: milaboratory/github-ci/actions/release/create@v4 + uses: milaboratory/github-ci/actions/release/create@v4-beta with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/java-gradle.yaml b/.github/workflows/java-gradle.yaml index 9317927b..201e6c6d 100644 --- a/.github/workflows/java-gradle.yaml +++ b/.github/workflows/java-gradle.yaml @@ -1047,7 +1047,7 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta outputs: is-release: ${{ steps.context.outputs.is-release }} @@ -1063,7 +1063,7 @@ jobs: contents: read steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -1072,7 +1072,7 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} @@ -1085,7 +1085,7 @@ jobs: aws-region: ${{ inputs.dist-archive-s3-region }} - id: build-gradle - uses: milaboratory/github-ci/blocks/java/build@v4 + uses: milaboratory/github-ci/blocks/java/build@v4-beta with: project: ${{ inputs.build-project }} project-dir: ${{ inputs.build-project-dir }} @@ -1108,7 +1108,7 @@ jobs: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | build @@ -1119,7 +1119,7 @@ jobs: && inputs.notify-build != 'false' && steps.build-gradle.conclusion != 'cancelled' - uses: milaboratory/github-ci/blocks/notify/build@v4 + uses: milaboratory/github-ci/blocks/notify/build@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -1137,7 +1137,7 @@ jobs: needs: - build steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -1146,14 +1146,14 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} gpg-key-password: ${{ secrets.GIT_CRYPT_KEY_PASSWORD }} - name: Setup tests matrix - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta id: tests-matrix with: dump-stdout: false @@ -1189,7 +1189,7 @@ jobs: contents: read steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -1198,7 +1198,7 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} @@ -1211,7 +1211,7 @@ jobs: aws-region: ${{ inputs.test-s3-region }} - id: test - uses: milaboratory/github-ci/blocks/java/test@v4 + uses: milaboratory/github-ci/blocks/java/test@v4-beta with: project: ${{ inputs.build-project }} project-dir: ${{ inputs.build-project-dir }} @@ -1264,13 +1264,13 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | test unit - - uses: milaboratory/github-ci/blocks/notify/tests@v4 + - uses: milaboratory/github-ci/blocks/notify/tests@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -1300,7 +1300,7 @@ jobs: contents: read steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -1309,7 +1309,7 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} @@ -1322,7 +1322,7 @@ jobs: aws-region: ${{ inputs.test-s3-region }} - id: test - uses: milaboratory/github-ci/blocks/java/test@v4 + uses: milaboratory/github-ci/blocks/java/test@v4-beta with: project: ${{ inputs.build-project }} project-dir: ${{ inputs.build-project-dir }} @@ -1378,13 +1378,13 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | test integration - - uses: milaboratory/github-ci/blocks/notify/tests@v4 + - uses: milaboratory/github-ci/blocks/notify/tests@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -1414,7 +1414,7 @@ jobs: contents: read steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -1424,7 +1424,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} fetch-depth: 0 - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} @@ -1437,7 +1437,7 @@ jobs: aws-region: ${{ inputs.test-s3-region }} - id: test - uses: milaboratory/github-ci/blocks/java/test@v4 + uses: milaboratory/github-ci/blocks/java/test@v4-beta with: project: ${{ inputs.build-project }} project-dir: ${{ inputs.build-project-dir }} @@ -1470,14 +1470,14 @@ jobs: upload-report: ${{ inputs.test-regression-upload-report }} - id: verify-changed-files - uses: milaboratory/github-ci/actions/git/verify-changed-files@v4 + uses: milaboratory/github-ci/actions/git/verify-changed-files@v4-beta with: files: ${{ inputs.test-regression-changed-files-list }} separator: ',' - id: prepare-files-list if: steps.verify-changed-files.outputs.files_changed == 'true' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: CHANGED_FILES: ${{ steps.verify-changed-files.outputs.changed_files }} WORKAROUND_DIR: 'workaround/files' @@ -1529,7 +1529,7 @@ jobs: contents: write steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -1538,14 +1538,14 @@ jobs: with: fetch-depth: 0 - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock && steps.artifact.outputs.exists == 'true' with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} gpg-key-password: ${{ secrets.GIT_CRYPT_KEY_PASSWORD }} - id: get-tag-branch - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | @@ -1554,7 +1554,7 @@ jobs: ghwa_set_output "branch-name" "$_BRANCH_NAME" - - uses: milaboratory/github-ci/actions/artifact/create-empty@v4 + - uses: milaboratory/github-ci/actions/artifact/create-empty@v4-beta - id: merged-artifact uses: actions/upload-artifact/merge@v4 @@ -1569,7 +1569,7 @@ jobs: with: name: test-regression - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | @@ -1577,13 +1577,13 @@ jobs: find . -type f -name 'init.txt' -exec rm -v {} \; - id: verify-changed-files - uses: milaboratory/github-ci/actions/git/verify-changed-files@v4 + uses: milaboratory/github-ci/actions/git/verify-changed-files@v4-beta with: files: ${{ inputs.test-regression-changed-files-list }} separator: ',' - id: create-pull-request - uses: milaboratory/github-ci/actions/git/create-pull-request@v4 + uses: milaboratory/github-ci/actions/git/create-pull-request@v4-beta with: add-paths: ${{ steps.verify-changed-files.outputs.changed_files }} commit-message: 'regression tests automated change' @@ -1614,13 +1614,13 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | test regression - - uses: milaboratory/github-ci/blocks/notify/test-regression@v4 + - uses: milaboratory/github-ci/blocks/notify/test-regression@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -1641,7 +1641,7 @@ jobs: needs: - test-regression-create-pr steps: - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta env: PR_URL: ${{ needs.test-regression-create-pr.outputs.pr-url }} with: @@ -1668,13 +1668,13 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | test regression - - uses: milaboratory/github-ci/blocks/notify/tests@v4 + - uses: milaboratory/github-ci/blocks/notify/tests@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -1699,7 +1699,7 @@ jobs: contents: read steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -1708,7 +1708,7 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} @@ -1720,7 +1720,7 @@ jobs: role-to-assume: ${{ inputs.dist-archive-s3-iam-role-to-assume }} aws-region: ${{ inputs.dist-archive-s3-region }} - - uses: milaboratory/github-ci/blocks/java/build@v4 + - uses: milaboratory/github-ci/blocks/java/build@v4-beta id: with-mapping with: project: ${{ inputs.build-project }} @@ -1748,7 +1748,7 @@ jobs: - name: Upload to S3 id: s3 if: ${{ inputs.dist-archive-s3 }} - uses: milaboratory/github-ci/blocks/release/s3@v4 + uses: milaboratory/github-ci/blocks/release/s3@v4-beta with: artifact-name: ${{ inputs.product-name-slug }} add-version: ${{ inputs.dist-archive-s3-add-version }} @@ -1787,13 +1787,13 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | build archive - - uses: milaboratory/github-ci/blocks/notify/build@v4 + - uses: milaboratory/github-ci/blocks/notify/build@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -1818,7 +1818,7 @@ jobs: packages: write steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -1827,7 +1827,7 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} @@ -1839,7 +1839,7 @@ jobs: role-to-assume: ${{ inputs.dist-archive-s3-iam-role-to-assume }} aws-region: ${{ inputs.dist-archive-s3-region }} - - uses: milaboratory/github-ci/blocks/java/build@v4 + - uses: milaboratory/github-ci/blocks/java/build@v4-beta with: project: ${{ inputs.build-project }} project-dir: ${{ inputs.build-project-dir }} @@ -1855,13 +1855,13 @@ jobs: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} - - uses: milaboratory/github-ci/actions/helpers/default-value@v4 + - uses: milaboratory/github-ci/actions/helpers/default-value@v4-beta id: project with: value: ${{ inputs.dist-docker-image-name }} default: ${{ inputs.build-project }} - - uses: milaboratory/github-ci/blocks/java/publish/docker@v4 + - uses: milaboratory/github-ci/blocks/java/publish/docker@v4-beta id: docker-push with: project: ${{ steps.project.outputs.value }} @@ -1889,13 +1889,13 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | build docker - - uses: milaboratory/github-ci/blocks/notify/build@v4 + - uses: milaboratory/github-ci/blocks/notify/build@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -1919,7 +1919,7 @@ jobs: contents: read steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -1928,7 +1928,7 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} @@ -1941,7 +1941,7 @@ jobs: aws-region: ${{ inputs.dist-library-s3-region }} - name: publish lib to dev - uses: milaboratory/github-ci/blocks/java/build@v4 + uses: milaboratory/github-ci/blocks/java/build@v4-beta with: project: ${{ inputs.build-project }} project-dir: ${{ inputs.build-project-dir }} @@ -1958,17 +1958,17 @@ jobs: java-distribution: ${{ inputs.java-distribution }} - id: props - uses: milaboratory/github-ci/actions/java/gradle/properties/read@v4 + uses: milaboratory/github-ci/actions/java/gradle/properties/read@v4-beta with: project-dir: ${{ inputs.build-project-dir }} project-name: ${{ inputs.build-project }} - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Prepare JSON list of published libraries id: libs-list - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: |- ${{ steps.props.outputs.group}}:${{ steps.props.outputs.name }}:${{ steps.context.outputs.current-version }} @@ -1995,13 +1995,13 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | build library - - uses: milaboratory/github-ci/blocks/notify/build@v4 + - uses: milaboratory/github-ci/blocks/notify/build@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -2026,9 +2026,9 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -2037,13 +2037,13 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} gpg-key-password: ${{ secrets.GIT_CRYPT_KEY_PASSWORD }} - - uses: milaboratory/github-ci/blocks/node/build-and-publish@v4 + - uses: milaboratory/github-ci/blocks/node/build-and-publish@v4-beta name: Release npm package if: github.ref_name == inputs.release-branch-name && inputs.node-execution-path != '' with: @@ -2085,14 +2085,14 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | build sign archive - - uses: milaboratory/github-ci/blocks/notify/build@v4 + - uses: milaboratory/github-ci/blocks/notify/build@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -2117,14 +2117,14 @@ jobs: steps: - id: cdn-string - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | CDN_URL=$(echo '${{ needs.distArchive.outputs.s3-urls-json }}' | jq -r -c '.[]') ghwa_set_output "converted_cdn_url" "${CDN_URL}" - - uses: milaboratory/github-ci/blocks/update-cdn-link@v4 + - uses: milaboratory/github-ci/blocks/update-cdn-link@v4-beta with: cdn-redirect-link: ${{ fromJSON( steps.cdn-string.outputs.data ).converted_cdn_url }} s3-iam-role-to-assume: ${{ inputs.cdn-redirect-s3-iam-role-to-assume }} @@ -2185,7 +2185,7 @@ jobs: - notify-test-regression steps: - - uses: milaboratory/github-ci/blocks/notify/review-required@v4 + - uses: milaboratory/github-ci/blocks/notify/review-required@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -2226,7 +2226,7 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - uses: actions/download-artifact@v4 if: inputs.dist-archive @@ -2235,7 +2235,7 @@ jobs: path: release-files - name: Create release - uses: milaboratory/github-ci/actions/release/create@v4 + uses: milaboratory/github-ci/actions/release/create@v4-beta with: token: ${{ secrets.GITHUB_TOKEN }} @@ -2266,7 +2266,7 @@ jobs: steps: - id: s3 name: Upload to S3 - uses: milaboratory/github-ci/blocks/release/s3@v4 + uses: milaboratory/github-ci/blocks/release/s3@v4-beta with: artifact-name: ${{ inputs.product-name-slug }} add-version: ${{ inputs.release-s3-add-version }} @@ -2300,7 +2300,7 @@ jobs: contents: read steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -2309,7 +2309,7 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/git/crypt@v4 + - uses: milaboratory/github-ci/actions/git/crypt@v4-beta if: inputs.git-crypt-unlock with: gpg-key: ${{ secrets.GIT_CRYPT_GPG_KEY }} @@ -2322,7 +2322,7 @@ jobs: aws-region: ${{ inputs.release-s3-region }} - name: publish lib - uses: milaboratory/github-ci/blocks/java/build@v4 + uses: milaboratory/github-ci/blocks/java/build@v4-beta with: project: ${{ inputs.build-project }} project-dir: ${{ inputs.build-project-dir }} @@ -2339,17 +2339,17 @@ jobs: java-distribution: ${{ inputs.java-distribution }} - id: props - uses: milaboratory/github-ci/actions/java/gradle/properties/read@v4 + uses: milaboratory/github-ci/actions/java/gradle/properties/read@v4-beta with: project-dir: ${{ inputs.build-project-dir }} project-name: ${{ inputs.build-project }} - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Prepare JSON list of published libraries id: libs-list - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: |- ${{ steps.props.outputs.group}}:${{ steps.props.outputs.name }}:${{ steps.context.outputs.current-version }} @@ -2377,12 +2377,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | release - - uses: milaboratory/github-ci/blocks/notify/release@v4 + - uses: milaboratory/github-ci/blocks/notify/release@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} diff --git a/.github/workflows/node-docker-simple-fast-pnpm.yaml b/.github/workflows/node-docker-simple-fast-pnpm.yaml index 5232bce5..f0bd371b 100644 --- a/.github/workflows/node-docker-simple-fast-pnpm.yaml +++ b/.github/workflows/node-docker-simple-fast-pnpm.yaml @@ -377,7 +377,7 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta outputs: is-release: ${{ steps.context.outputs.is-release }} @@ -399,9 +399,9 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -410,7 +410,7 @@ jobs: with: submodules: ${{ inputs.checkout-submodules }} - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -420,10 +420,10 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - name: Add MiLab shell utils to PATH - uses: milaboratory/github-ci/actions/milab-shell-utils@v4 + uses: milaboratory/github-ci/actions/milab-shell-utils@v4-beta - id: npm-pkg-metadata - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | NPM_PKG_VERSION="$(cat "${GITHUB_WORKSPACE}/package.json" | jq --raw-output '.version')" @@ -443,9 +443,9 @@ jobs: with: mask-password: "true" - - uses: milaboratory/github-ci/actions/turborepo/cache@v4 + - uses: milaboratory/github-ci/actions/turborepo/cache@v4-beta - - uses: milaboratory/github-ci/blocks/node/build-and-test-pnpm@v4 + - uses: milaboratory/github-ci/blocks/node/build-and-test-pnpm@v4-beta env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} @@ -465,7 +465,7 @@ jobs: npmrc-config: ${{ inputs.npmrc-config }} - id: test - uses: milaboratory/github-ci/blocks/pl/linux/test-pl-docker-pnpm@v4 + uses: milaboratory/github-ci/blocks/pl/linux/test-pl-docker-pnpm@v4-beta if: inputs.test env: PL_ADDRESS: "http://127.0.0.1:6345" @@ -525,7 +525,7 @@ jobs: id: npm-pack if: steps.context.outputs.is-release == 'true' && steps.changesets.outputs.hasChangesets == 'false' - uses: milaboratory/github-ci/actions/node/pack-unpublished@v4 + uses: milaboratory/github-ci/actions/node/pack-unpublished@v4-beta env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -538,7 +538,7 @@ jobs: - name: Publish npm packages if: steps.npm-pack.outputs.count != '' && steps.npm-pack.outputs.count != '0' - uses: milaboratory/github-ci/actions/node/publish-tarballs@v4 + uses: milaboratory/github-ci/actions/node/publish-tarballs@v4-beta with: dir: ${{ steps.npm-pack.outputs.dir }} access-public: ${{ inputs.publish-to-public }} @@ -562,12 +562,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | release - - uses: milaboratory/github-ci/blocks/notify/release@v4 + - uses: milaboratory/github-ci/blocks/notify/release@v4-beta env: NPM_PKG_VERSION: ${{ needs.build-test-publish.outputs.npm-pkg-version }} with: diff --git a/.github/workflows/node-go-simple.yaml b/.github/workflows/node-go-simple.yaml index 8c51c913..3005dfda 100644 --- a/.github/workflows/node-go-simple.yaml +++ b/.github/workflows/node-go-simple.yaml @@ -330,7 +330,7 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta outputs: is-release: ${{ steps.context.outputs.is-release }} @@ -348,7 +348,7 @@ jobs: - init steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -358,7 +358,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - id: npm-pkg-metadata - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | NPM_PKG_NAME="$(cat "${GITHUB_WORKSPACE}/package.json" | jq --raw-output '.name')" @@ -368,18 +368,18 @@ jobs: ghwa_set_output npm-pkg-version "${NPM_PKG_VERSION}" - name: Prepare environment for running Golang - uses: milaboratory/github-ci/actions/golang/prepare@v4 + uses: milaboratory/github-ci/actions/golang/prepare@v4-beta with: golang-version: ${{ inputs.golang-version }} cache-version: ${{ inputs.golang-cache-version }} cache-dependency-path: ${{ inputs.golang-cache-dependency-path }} cache-dependency-hashfiles-path: ${{ inputs.golang-cache-dependency-hashfiles-path }} - - uses: milaboratory/github-ci/actions/git/auth@v4 + - uses: milaboratory/github-ci/actions/git/auth@v4-beta with: github-token: ${{ env.GH_CI_PAT || secrets.GITHUB_TOKEN }} - - uses: milaboratory/github-ci/blocks/node/build/generic@v4 + - uses: milaboratory/github-ci/blocks/node/build/generic@v4-beta with: build-script-name: ${{ inputs.build-script-name }} node-version: ${{ inputs.node-version }} @@ -408,12 +408,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | build - - uses: milaboratory/github-ci/blocks/notify/build@v4 + - uses: milaboratory/github-ci/blocks/notify/build@v4-beta env: NPM_PKG_VERSION: ${{ needs.build.outputs.npm-pkg-version }} with: @@ -438,7 +438,7 @@ jobs: - build steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -448,18 +448,18 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - name: Prepare environment for running Golang - uses: milaboratory/github-ci/actions/golang/prepare@v4 + uses: milaboratory/github-ci/actions/golang/prepare@v4-beta with: golang-version: ${{ inputs.golang-version }} cache-version: ${{ inputs.golang-cache-version }} cache-dependency-path: ${{ inputs.golang-cache-dependency-path }} cache-dependency-hashfiles-path: ${{ inputs.golang-cache-dependency-hashfiles-path }} - - uses: milaboratory/github-ci/actions/git/auth@v4 + - uses: milaboratory/github-ci/actions/git/auth@v4-beta with: github-token: ${{ env.GH_CI_PAT || secrets.GITHUB_TOKEN }} - - uses: milaboratory/github-ci/blocks/node/test@v4 + - uses: milaboratory/github-ci/blocks/node/test@v4-beta with: test-name: ${{ inputs.test-script-name }} node-version: ${{ inputs.node-version }} @@ -488,13 +488,13 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | test unit - - uses: milaboratory/github-ci/blocks/notify/tests@v4 + - uses: milaboratory/github-ci/blocks/notify/tests@v4-beta env: NPM_PKG_VERSION: ${{ needs.test.outputs.npm-pkg-version }} with: @@ -537,7 +537,7 @@ jobs: - can-release steps: - - uses: milaboratory/github-ci/blocks/notify/review-required@v4 + - uses: milaboratory/github-ci/blocks/notify/review-required@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -582,9 +582,9 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -594,14 +594,14 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - id: npm-pkg-status - uses: milaboratory/github-ci/actions/node/npm-pkg-status@v4 + uses: milaboratory/github-ci/actions/node/npm-pkg-status@v4-beta with: package-json-path: "${{ github.workspace }}/package.json" registry-url: ${{ inputs.registry-url }} npm-auth-token: ${{ env.NPMJS_TOKEN || secrets.GITHUB_TOKEN }} - name: Prepare environment for running Golang - uses: milaboratory/github-ci/actions/golang/prepare@v4 + uses: milaboratory/github-ci/actions/golang/prepare@v4-beta if: steps.npm-pkg-status.outputs.exist == '0' && steps.context.outputs.is-release == 'true' with: @@ -610,13 +610,13 @@ jobs: cache-dependency-path: ${{ inputs.golang-cache-dependency-path }} cache-dependency-hashfiles-path: ${{ inputs.golang-cache-dependency-hashfiles-path }} - - uses: milaboratory/github-ci/actions/git/auth@v4 + - uses: milaboratory/github-ci/actions/git/auth@v4-beta if: steps.npm-pkg-status.outputs.exist == '0' && steps.context.outputs.is-release == 'true' with: github-token: ${{ env.GH_CI_PAT || secrets.GITHUB_TOKEN }} - - uses: milaboratory/github-ci/blocks/node/build/generic@v4 + - uses: milaboratory/github-ci/blocks/node/build/generic@v4-beta if: steps.npm-pkg-status.outputs.exist == '0' && steps.context.outputs.is-release == 'true' with: @@ -655,12 +655,12 @@ jobs: - name: Add MiLab shell utils to PATH if: inputs.gcp-login-enable - uses: milaboratory/github-ci/actions/milab-shell-utils@v4 + uses: milaboratory/github-ci/actions/milab-shell-utils@v4-beta - name: Publish npm package if: steps.npm-pkg-status.outputs.exist == '0' && steps.context.outputs.is-release == 'true' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} @@ -686,7 +686,7 @@ jobs: - name: Create release with tag if: steps.npm-pkg-status.outputs.exist == '0' && steps.context.outputs.is-release == 'true' - uses: milaboratory/github-ci/actions/release/create-with-tag@v4 + uses: milaboratory/github-ci/actions/release/create-with-tag@v4-beta env: NPM_PKG_VERSION: ${{ steps.npm-pkg-status.outputs.pkg-version }} with: @@ -716,12 +716,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | release - - uses: milaboratory/github-ci/blocks/notify/release@v4 + - uses: milaboratory/github-ci/blocks/notify/release@v4-beta env: NPM_PKG_VERSION: ${{ needs.publish-to-npm.outputs.npm-pkg-version }} with: diff --git a/.github/workflows/node-matrix-pnpm.yaml b/.github/workflows/node-matrix-pnpm.yaml index a454d896..2153dfc4 100644 --- a/.github/workflows/node-matrix-pnpm.yaml +++ b/.github/workflows/node-matrix-pnpm.yaml @@ -469,7 +469,7 @@ jobs: runs-on: ubuntu-latest steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta outputs: is-release: ${{ steps.context.outputs.is-release }} current-version: ${{ steps.context.outputs.current-version }} @@ -485,7 +485,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - id: npm-pkg-metadata - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: PACKAGE_PATH: ${{ inputs.package-path }} with: @@ -507,9 +507,9 @@ jobs: if: github.ref_name == 'main' || github.event_name == 'merge_group' steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -520,7 +520,7 @@ jobs: fetch-depth: '0' - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta env: PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }} with: @@ -531,13 +531,13 @@ jobs: npmrc-config: ${{ inputs.npmrc-config }} - name: Install NodeJS packages with pnpm - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | pnpm install --frozen-lockfile --prefer-offline - name: Check for Changesets - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: BRANCH_NAME: ${{ inputs.changeset-default-branch }} with: @@ -564,7 +564,7 @@ jobs: id-token: write contents: read steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -583,7 +583,7 @@ jobs: - name: Install system build tools on Linux if: runner.os == 'Linux' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | @@ -613,7 +613,7 @@ jobs: username: ${{ env.QUAY_USERNAME }} password: ${{ env.QUAY_ROBOT_TOKEN }} - - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4 + - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4-beta with: storage-provider: 's3' storage-path: ${{ env.AWS_CI_TURBOREPO_S3_BUCKET }} @@ -657,13 +657,13 @@ jobs: # on non-Windows runners. - name: Setup MSVC Dev Cmd if: runner.os == 'Windows' - uses: milaboratory/github-ci/actions/setup-msvc-dev-cmd@v4 + uses: milaboratory/github-ci/actions/setup-msvc-dev-cmd@v4-beta with: arch: ${{ matrix.arch == 'arm64' && 'arm64' || 'amd64' }} - name: Configure ccache if: inputs.enable-ccache - uses: milaboratory/github-ci/actions/ccache@v4 + uses: milaboratory/github-ci/actions/ccache@v4-beta with: options: ${{ inputs.ccache-options }} @@ -675,7 +675,7 @@ jobs: key: ${{ runner.os }}-${{ runner.arch }}-cache-additional-${{ inputs.cache-version }} - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta env: PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }} with: @@ -686,7 +686,7 @@ jobs: npmrc-config: ${{ inputs.npmrc-config }} - name: Install NodeJS packages with pnpm - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} @@ -703,7 +703,7 @@ jobs: pnpm run build --filter="${PRE_CALCULATED_STEP}" - name: CodeSign binary on macOS - uses: milaboratory/github-ci/blocks/signing-tools/macos-sign@v4 + uses: milaboratory/github-ci/blocks/signing-tools/macos-sign@v4-beta if: runner.os == 'macOS' && inputs.sign-binaries != '' with: @@ -714,7 +714,7 @@ jobs: mac-cert-passwd: ${{ secrets.MAC_SIGN_CERT_PWD }} - name: Notarize binary on macOS - uses: milaboratory/github-ci/blocks/signing-tools/macos-notarize@v4 + uses: milaboratory/github-ci/blocks/signing-tools/macos-notarize@v4-beta if: runner.os == 'macOS' && inputs.sign-binaries != '' with: @@ -726,7 +726,7 @@ jobs: - name: CodeSign binary on Windows if: runner.os == 'Windows' && inputs.sign-binaries != '' - uses: milaboratory/github-ci/blocks/signing-tools/windows-sign@v4 + uses: milaboratory/github-ci/blocks/signing-tools/windows-sign@v4-beta with: binaries: ${{ inputs.sign-binaries }} @@ -751,7 +751,7 @@ jobs: echo "name=prebuild-results-${M_OS}-${M_ARCH}-${M_SELECTOR}" >> $GITHUB_OUTPUT - name: Save prebuild results for transfer to final build - uses: milaboratory/github-ci/actions/artifact/save@v4 + uses: milaboratory/github-ci/actions/artifact/save@v4-beta with: name: ${{ steps.archive-name.outputs.name }} path: '*/dist/' @@ -771,9 +771,9 @@ jobs: issues: read steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -793,7 +793,7 @@ jobs: - name: Install system build tools on Linux if: runner.os == 'Linux' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | @@ -824,7 +824,7 @@ jobs: password: ${{ env.QUAY_ROBOT_TOKEN }} - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta env: PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }} with: @@ -834,14 +834,14 @@ jobs: cache-hashfiles-search-path: ${{ inputs.cache-hashfiles-search-path }} npmrc-config: ${{ inputs.npmrc-config }} - - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4 + - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4-beta with: storage-provider: 's3' storage-path: ${{ env.AWS_CI_TURBOREPO_S3_BUCKET }} team-id: ${{ inputs.team-id }} - name: Install NodeJS packages with pnpm - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} @@ -852,7 +852,7 @@ jobs: - name: Run changeset version if: ( github.event_name == 'push' && github.ref_name == 'main') || github.event_name == 'pull_request' || github.event_name == 'merge_group' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | pnpm run version-packages @@ -886,15 +886,15 @@ jobs: - name: Restore prebuild results - uses: milaboratory/github-ci/actions/artifact/restore@v4 + uses: milaboratory/github-ci/actions/artifact/restore@v4-beta with: pattern: prebuild-results-* - name: Perform security scan checks before publication - uses: milaboratory/github-ci/actions/docker/scan-pnpm-repo@v4 + uses: milaboratory/github-ci/actions/docker/scan-pnpm-repo@v4-beta - name: Run build - main metapackage - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} @@ -913,7 +913,7 @@ jobs: run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT" - name: Commit changed files to main - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta if: steps.check-changes.outputs.has-changes == '1' env: USER_ID: ${{ steps.get-user-id.outputs.user-id }} @@ -936,7 +936,7 @@ jobs: id: npm-pack if: github.ref_name == 'main' && steps.check-changes.outputs.has-changes == '0' - uses: milaboratory/github-ci/actions/node/pack-unpublished@v4 + uses: milaboratory/github-ci/actions/node/pack-unpublished@v4-beta env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -944,7 +944,7 @@ jobs: - name: Publish npm packages if: steps.npm-pack.outputs.count != '' && steps.npm-pack.outputs.count != '0' - uses: milaboratory/github-ci/actions/node/publish-tarballs@v4 + uses: milaboratory/github-ci/actions/node/publish-tarballs@v4-beta with: dir: ${{ steps.npm-pack.outputs.dir }} access-public: ${{ inputs.publish-to-public }} @@ -954,7 +954,7 @@ jobs: if: github.ref_name == 'main' && steps.check-changes.outputs.has-changes == '0' && inputs.create-tag == 'true' - uses: milaboratory/github-ci/actions/release/create-with-tag@v4 + uses: milaboratory/github-ci/actions/release/create-with-tag@v4-beta env: NPM_PKG_VERSION: ${{ needs.metadata.outputs.npm-pkg-version }} with: @@ -984,12 +984,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | release - - uses: milaboratory/github-ci/blocks/notify/release@v4 + - uses: milaboratory/github-ci/blocks/notify/release@v4-beta env: NPM_PKG_VERSION: ${{ needs.metadata.outputs.npm-pkg-version }} with: diff --git a/.github/workflows/node-matrix.yaml b/.github/workflows/node-matrix.yaml index 055cd32d..b34afc7e 100644 --- a/.github/workflows/node-matrix.yaml +++ b/.github/workflows/node-matrix.yaml @@ -452,7 +452,7 @@ jobs: runs-on: ubuntu-latest steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta outputs: is-release: ${{ fromJSON(steps.context.outputs.is-release) }} @@ -475,7 +475,7 @@ jobs: - init steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -486,7 +486,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - name: Install pipx rockylinux - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta if: runner.os == 'Linux' && inputs.python-version != '' with: dump-stdout: false @@ -495,7 +495,7 @@ jobs: python3 -m pipx ensurepath echo "$HOME/.local/bin" >> $GITHUB_PATH - - uses: milaboratory/github-ci/actions/r/prepare@v4 + - uses: milaboratory/github-ci/actions/r/prepare@v4-beta if: inputs.r-version != '' with: r-version: ${{ inputs.r-version }} @@ -509,13 +509,13 @@ jobs: # on non-Windows runners. - name: Setup MSVC Dev Cmd if: runner.os == 'Windows' - uses: milaboratory/github-ci/actions/setup-msvc-dev-cmd@v4 + uses: milaboratory/github-ci/actions/setup-msvc-dev-cmd@v4-beta with: arch: ${{ matrix.arch == 'arm64' && 'arm64' || 'amd64' }} - name: Configure ccache if: inputs.enable-ccache - uses: milaboratory/github-ci/actions/ccache@v4 + uses: milaboratory/github-ci/actions/ccache@v4-beta with: options: ${{ inputs.ccache-options }} @@ -527,9 +527,9 @@ jobs: key: ${{ runner.os }}-${{ runner.arch }}-cache-additional-${{ inputs.cache-version }} - name: Load MiLaboratories custom CLI tools - uses: milaboratory/github-ci/actions/milab-shell-utils@v4 + uses: milaboratory/github-ci/actions/milab-shell-utils@v4-beta - - uses: milaboratory/github-ci/blocks/node/test@v4 + - uses: milaboratory/github-ci/blocks/node/test@v4-beta with: node-version: ${{ inputs.node-version }} cache-version: ${{ inputs.cache-version }} @@ -545,7 +545,7 @@ jobs: npmrc-config: ${{ inputs.npmrc-config }} - name: CodeSign binary on macOS - uses: milaboratory/github-ci/blocks/signing-tools/macos-sign@v4 + uses: milaboratory/github-ci/blocks/signing-tools/macos-sign@v4-beta if: runner.os == 'macOS' && inputs.sign-binaries != '' with: @@ -558,7 +558,7 @@ jobs: - name: CodeSign binary on Windows if: runner.os == 'Windows' && inputs.sign-binaries != '' - uses: milaboratory/github-ci/blocks/signing-tools/windows-sign@v4 + uses: milaboratory/github-ci/blocks/signing-tools/windows-sign@v4-beta with: binaries: ${{ inputs.sign-binaries }} @@ -578,7 +578,7 @@ jobs: npm run --if-present after-prebuild - name: Saving build artifacts for publish step - uses: milaboratory/github-ci/actions/artifact/save@v4 + uses: milaboratory/github-ci/actions/artifact/save@v4-beta id: build-artifacts if: inputs.build-artifacts != '' with: @@ -605,12 +605,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | build - - uses: milaboratory/github-ci/blocks/notify/build@v4 + - uses: milaboratory/github-ci/blocks/notify/build@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -643,7 +643,7 @@ jobs: needs: - can-release steps: - - uses: milaboratory/github-ci/blocks/notify/review-required@v4 + - uses: milaboratory/github-ci/blocks/notify/review-required@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -662,7 +662,7 @@ jobs: environment: release steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -672,7 +672,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare@v4 + uses: milaboratory/github-ci/actions/node/prepare@v4-beta with: node-version: ${{ inputs.node-version }} cache-version: ${{ inputs.cache-version }} @@ -685,7 +685,7 @@ jobs: install-deps: false - id: npm-pkg-status - uses: milaboratory/github-ci/actions/node/npm-pkg-status@v4 + uses: milaboratory/github-ci/actions/node/npm-pkg-status@v4-beta with: package-json-path: "${{ github.workspace }}/package.json" registry-url: ${{ inputs.registry-url }} @@ -715,19 +715,19 @@ jobs: - release steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} - - uses: milaboratory/github-ci/actions/artifact/restore@v4 + - uses: milaboratory/github-ci/actions/artifact/restore@v4-beta id: build-artifacts if: inputs.build-artifacts != '' with: pattern: build-artifacts-${{ matrix.os }}-${{ matrix.arch }} - name: Notarize binary on macOS - uses: milaboratory/github-ci/blocks/signing-tools/macos-notarize@v4 + uses: milaboratory/github-ci/blocks/signing-tools/macos-notarize@v4-beta if: runner.os == 'macOS' with: paths: ${{ inputs.notarize-paths }} @@ -754,7 +754,7 @@ jobs: contents: write steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -764,7 +764,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare@v4 + uses: milaboratory/github-ci/actions/node/prepare@v4-beta with: node-version: ${{ inputs.node-version }} cache-version: ${{ inputs.cache-version }} @@ -776,19 +776,19 @@ jobs: update-npm: true install-deps: true - - uses: milaboratory/github-ci/actions/python/prepare@v4 + - uses: milaboratory/github-ci/actions/python/prepare@v4-beta if: inputs.python-version != '' with: python-version: ${{ inputs.python-version }} cache-version: ${{ inputs.cache-version }} - - uses: milaboratory/github-ci/actions/r/prepare@v4 + - uses: milaboratory/github-ci/actions/r/prepare@v4-beta if: inputs.r-version != '' with: r-version: ${{ inputs.r-version }} # cache-version: ${{ inputs.cache-version }} - - uses: milaboratory/github-ci/actions/artifact/restore@v4 + - uses: milaboratory/github-ci/actions/artifact/restore@v4-beta id: build-artifacts if: inputs.build-artifacts != '' with: @@ -806,12 +806,12 @@ jobs: # provenance and the registry checks it). NPMJS_TOKEN is used only if # the OIDC exchange fails. - name: Prepare npm trusted publishing - uses: milaboratory/github-ci/actions/node/prepare-trusted-publishing@v4 + uses: milaboratory/github-ci/actions/node/prepare-trusted-publishing@v4-beta with: registry-url: ${{ inputs.registry-url }} - name: Publish npm package - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} @@ -830,7 +830,7 @@ jobs: fi - name: Create release with tag - uses: milaboratory/github-ci/actions/release/create-with-tag@v4 + uses: milaboratory/github-ci/actions/release/create-with-tag@v4-beta env: NPM_PKG_VERSION: ${{ needs.release.outputs.package-version }} with: @@ -859,12 +859,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | release - - uses: milaboratory/github-ci/blocks/notify/release@v4 + - uses: milaboratory/github-ci/blocks/notify/release@v4-beta env: NPM_PKG_VERSION: ${{ needs.release.outputs.package-version }} with: diff --git a/.github/workflows/node-simple-pnpm-k8s.yaml b/.github/workflows/node-simple-pnpm-k8s.yaml index f51b1214..fb68598a 100644 --- a/.github/workflows/node-simple-pnpm-k8s.yaml +++ b/.github/workflows/node-simple-pnpm-k8s.yaml @@ -296,7 +296,7 @@ jobs: permissions: id-token: write steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -352,7 +352,7 @@ jobs: role-duration-seconds: ${{ inputs.aws-login-duration }} aws-region: ${{ inputs.aws-region }} - - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4 + - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4-beta if: ${{ env.AWS_CI_TURBOREPO_S3_BUCKET != '' }} with: storage-provider: "s3" @@ -377,7 +377,7 @@ jobs: echo "PL_TEST_USER=${PL_CI_TEST_USER:-testuser1}" >> "${GITHUB_ENV}" echo "PL_TEST_PASSWORD=${PL_CI_TEST_PASSWORD:-testpassword1}" >> "${GITHUB_ENV}" - - uses: milaboratory/github-ci/actions/k8s/helm-deployment@v4 + - uses: milaboratory/github-ci/actions/k8s/helm-deployment@v4-beta with: helm-release-name: ${{ env.HELM_RELEASE_NAME }} helm-chart-name: ${{ inputs.helm-chart-name }} @@ -417,7 +417,7 @@ jobs: done - id: test - uses: milaboratory/github-ci/blocks/monorepo/test-pl-k8s-pnpm@v4 + uses: milaboratory/github-ci/blocks/monorepo/test-pl-k8s-pnpm@v4-beta env: PL_DOCKER_REGISTRY_PUSH_TO: ${{ inputs.pl-docker-registry-push-to }} with: @@ -461,14 +461,14 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | test integration google-batch - - uses: milaboratory/github-ci/blocks/notify/slack/tests@v4 + - uses: milaboratory/github-ci/blocks/notify/slack/tests@v4-beta env: NPM_PKG_VERSION: ${{ needs.run-tests.outputs.npm-pkg-version }} with: diff --git a/.github/workflows/node-simple-pnpm.yaml b/.github/workflows/node-simple-pnpm.yaml index c950c74a..cebe6967 100644 --- a/.github/workflows/node-simple-pnpm.yaml +++ b/.github/workflows/node-simple-pnpm.yaml @@ -491,7 +491,7 @@ jobs: runs-on: ${{ inputs.gha-runner-label }} steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta outputs: is-release: ${{ steps.context.outputs.is-release }} current-version: ${{ steps.context.outputs.current-version }} @@ -508,7 +508,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - id: npm-pkg-metadata - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: PACKAGE_PATH: ${{ inputs.package-path }} with: @@ -532,9 +532,9 @@ jobs: needs: - init steps: - - uses: milaboratory/github-ci/actions/context@v4 + - uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -546,7 +546,7 @@ jobs: fetch-depth: '0' - name: Check infrastructure requirements for publication - uses: milaboratory/github-ci/actions/node/require-latest@v4 + uses: milaboratory/github-ci/actions/node/require-latest@v4-beta with: packages: | @platforma-sdk/block-tools @@ -562,9 +562,9 @@ jobs: needs: - init steps: - - uses: milaboratory/github-ci/actions/context@v4 + - uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -608,9 +608,9 @@ jobs: - metadata steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -622,7 +622,7 @@ jobs: fetch-depth: '0' - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta env: PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }} with: @@ -635,7 +635,7 @@ jobs: cache-s3-secret-key: ${{ env.HZ_CI_CACHE_S3_SECRET_KEY }} - name: Install NodeJS packages with pnpm - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | pnpm install --frozen-lockfile --prefer-offline @@ -643,7 +643,7 @@ jobs: # Default gate: some changeset must exist (any package). - name: Check for Changesets if: ${{ !inputs.require-package-path-bump }} - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: BRANCH_NAME: ${{ inputs.changeset-default-branch }} with: @@ -656,7 +656,7 @@ jobs: # PR-only — merge_group / push need no enforcement here. - name: Require package bump by changeset if: ${{ inputs.require-package-path-bump && github.event_name == 'pull_request' }} - uses: milaboratory/github-ci/actions/changeset/require-package-bump@v4 + uses: milaboratory/github-ci/actions/changeset/require-package-bump@v4-beta with: package-path: ${{ inputs.package-path }} base-branch: ${{ inputs.changeset-default-branch }} @@ -666,7 +666,7 @@ jobs: # reports the complete set of missing bumps instead of one at a time. - name: Require changeset coverage for every edited package if: ${{ !cancelled() && inputs.require-package-path-bump && github.event_name == 'pull_request' }} - uses: milaboratory/github-ci/actions/changeset/check-coverage@v4 + uses: milaboratory/github-ci/actions/changeset/check-coverage@v4-beta with: base-branch: ${{ inputs.changeset-default-branch }} @@ -709,7 +709,7 @@ jobs: id-token: write contents: read steps: - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -764,7 +764,7 @@ jobs: # breaks image pulls/pushes. - name: Turbo remote cache (RGW) if: env.HZ_CI_TURBO_S3_BUCKET != '' - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4 + uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4-beta env: S3_ACCESS_KEY: ${{ env.HZ_CI_TURBO_S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ env.HZ_CI_TURBO_S3_SECRET_KEY }} @@ -778,14 +778,14 @@ jobs: - name: Turbo remote cache (AWS) if: env.HZ_CI_TURBO_S3_BUCKET == '' - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4 + uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4-beta with: storage-provider: 's3' storage-path: ${{ env.AWS_CI_TURBOREPO_S3_BUCKET }} team-id: ${{ inputs.team-id }} - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta env: PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }} with: @@ -807,7 +807,7 @@ jobs: - name: Run changeset version if: ( github.event_name == 'push' && github.ref_name == 'main') || github.event_name == 'pull_request' || github.event_name == 'merge_group' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | pnpm run version-packages @@ -865,9 +865,9 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -918,14 +918,14 @@ jobs: - name: Prepare environment for Golang when requested if: inputs.golang-version != '' - uses: milaboratory/github-ci/actions/golang/prepare@v4 + uses: milaboratory/github-ci/actions/golang/prepare@v4-beta with: golang-version: ${{ inputs.golang-version }} cache-version: ${{ inputs.cache-version }} cache-dependency-hashfiles-path: ${{ inputs.golang-cache-hashfiles-path }} - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta env: PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }} with: @@ -944,7 +944,7 @@ jobs: # breaks image pulls/pushes. - name: Turbo remote cache (RGW) if: env.HZ_CI_TURBO_S3_BUCKET != '' - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4 + uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4-beta env: S3_ACCESS_KEY: ${{ env.HZ_CI_TURBO_S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ env.HZ_CI_TURBO_S3_SECRET_KEY }} @@ -958,7 +958,7 @@ jobs: - name: Turbo remote cache (AWS) if: env.HZ_CI_TURBO_S3_BUCKET == '' - uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4 + uses: milaboratory/github-ci/actions/turborepo/cache-s3@v4-beta with: storage-provider: 's3' storage-path: ${{ env.AWS_CI_TURBOREPO_S3_BUCKET }} @@ -1006,7 +1006,7 @@ jobs: fi - name: Run build - uses: milaboratory/github-ci/blocks/monorepo/build-and-test-pnpm@v4 + uses: milaboratory/github-ci/blocks/monorepo/build-and-test-pnpm@v4-beta env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} @@ -1026,7 +1026,7 @@ jobs: - name: Run tests id: test - uses: milaboratory/github-ci/blocks/monorepo/test-pl-docker-pnpm@v4 + uses: milaboratory/github-ci/blocks/monorepo/test-pl-docker-pnpm@v4-beta if: inputs.test env: PL_ADDRESS: "http://127.0.0.1:6345" @@ -1052,7 +1052,7 @@ jobs: test-results-reports: ${{ inputs.test-results-reports }} - name: Run build (before publish) - uses: milaboratory/github-ci/blocks/monorepo/build-and-test-pnpm@v4 + uses: milaboratory/github-ci/blocks/monorepo/build-and-test-pnpm@v4-beta env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} @@ -1077,10 +1077,10 @@ jobs: if: github.ref_name == 'main' && steps.check-changes.outputs.has-changes == '0' && inputs.verify-docker-images - uses: milaboratory/github-ci/blocks/monorepo/verify-docker-images@v4 + uses: milaboratory/github-ci/blocks/monorepo/verify-docker-images@v4-beta - name: Perform security scan checks before publication - uses: milaboratory/github-ci/actions/docker/scan-pnpm-repo@v4 + uses: milaboratory/github-ci/actions/docker/scan-pnpm-repo@v4-beta - name: Get GitHub App User ID if: steps.check-changes.outputs.has-changes == '1' @@ -1090,7 +1090,7 @@ jobs: run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT" - name: Commit changed files to main - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta if: steps.check-changes.outputs.has-changes == '1' env: USER_ID: ${{ steps.get-user-id.outputs.user-id }} @@ -1112,7 +1112,7 @@ jobs: id: npm-pack if: github.ref_name == 'main' && steps.check-changes.outputs.has-changes == '0' - uses: milaboratory/github-ci/actions/node/pack-unpublished@v4 + uses: milaboratory/github-ci/actions/node/pack-unpublished@v4-beta env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -1193,7 +1193,7 @@ jobs: - name: Publish npm packages if: needs.build-test-publish.outputs.npm-pack-count != '0' - uses: milaboratory/github-ci/actions/node/publish-tarballs@v4 + uses: milaboratory/github-ci/actions/node/publish-tarballs@v4-beta with: dir: ${{ runner.temp }}/npm-tarballs access-public: ${{ inputs.publish-to-public }} @@ -1203,7 +1203,7 @@ jobs: - name: Create release with tag if: inputs.create-tag == 'true' - uses: milaboratory/github-ci/actions/release/create-with-tag@v4 + uses: milaboratory/github-ci/actions/release/create-with-tag@v4-beta env: NPM_PKG_VERSION: ${{ needs.metadata.outputs.npm-pkg-version }} with: @@ -1231,12 +1231,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | release - - uses: milaboratory/github-ci/blocks/notify/slack/release@v4 + - uses: milaboratory/github-ci/blocks/notify/slack/release@v4-beta env: NPM_PKG_VERSION: ${{ needs.metadata.outputs.npm-pkg-version }} with: @@ -1263,7 +1263,7 @@ jobs: steps: - name: Check workflow duration id: check-duration - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: GH_TOKEN: ${{ github.token }} GITHUB_REPOSITORY: ${{ github.repository }} @@ -1307,7 +1307,7 @@ jobs: - name: Send Slack notification for slow merge queue if: fromJSON(steps.check-duration.outputs.data).alert == 'true' && inputs.notify-slack - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ secrets.SLACK_BOT_TOKEN }} method: chat.postMessage diff --git a/.github/workflows/node-simple.yaml b/.github/workflows/node-simple.yaml index 841e51ab..2673f067 100644 --- a/.github/workflows/node-simple.yaml +++ b/.github/workflows/node-simple.yaml @@ -332,7 +332,7 @@ jobs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta outputs: is-release: ${{ steps.context.outputs.is-release }} @@ -350,7 +350,7 @@ jobs: - init steps: - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta if: inputs.gha-runner-label == 'dev-assets' with: dump-stdout: false @@ -358,7 +358,7 @@ jobs: sudo apt-get update && \ DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get install -y build-essential git jq awscli wget unzip - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -369,7 +369,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - id: npm-pkg-metadata - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | NPM_PKG_NAME="$(cat "${GITHUB_WORKSPACE}/package.json" | jq --raw-output '.name')" @@ -378,7 +378,7 @@ jobs: ghwa_set_output npm-pkg-name "${NPM_PKG_NAME}" ghwa_set_output npm-pkg-version "${NPM_PKG_VERSION}" - - uses: milaboratory/github-ci/blocks/node/build/generic@v4 + - uses: milaboratory/github-ci/blocks/node/build/generic@v4-beta env: NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} with: @@ -411,12 +411,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | build - - uses: milaboratory/github-ci/blocks/notify/build@v4 + - uses: milaboratory/github-ci/blocks/notify/build@v4-beta env: NPM_PKG_VERSION: ${{ needs.build.outputs.npm-pkg-version }} with: @@ -441,7 +441,7 @@ jobs: - build steps: - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta if: inputs.gha-runner-label == 'dev-assets' with: dump-stdout: false @@ -449,7 +449,7 @@ jobs: sudo apt-get update && \ DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get install -y build-essential git jq awscli wget unzip - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -460,7 +460,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - id: npm-pkg-metadata - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | NPM_PKG_NAME="$(cat "${GITHUB_WORKSPACE}/package.json" | jq --raw-output '.name')" @@ -470,7 +470,7 @@ jobs: ghwa_set_output npm-pkg-version "${NPM_PKG_VERSION}" - id: test - uses: milaboratory/github-ci/blocks/node/test@v4 + uses: milaboratory/github-ci/blocks/node/test@v4-beta env: NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }} with: @@ -506,13 +506,13 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | test unit - - uses: milaboratory/github-ci/blocks/notify/tests@v4 + - uses: milaboratory/github-ci/blocks/notify/tests@v4-beta env: NPM_PKG_VERSION: ${{ needs.test.outputs.npm-pkg-version }} with: @@ -555,7 +555,7 @@ jobs: - can-release steps: - - uses: milaboratory/github-ci/blocks/notify/review-required@v4 + - uses: milaboratory/github-ci/blocks/notify/review-required@v4-beta with: telegram-target: ${{ secrets.TELEGRAM_NOTIFICATION_TARGET }} telegram-token: ${{ secrets.TELEGRAM_API_TOKEN }} @@ -600,7 +600,7 @@ jobs: contents: write steps: - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta if: inputs.gha-runner-label == 'dev-assets' with: dump-stdout: false @@ -609,9 +609,9 @@ jobs: DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get install -y build-essential git jq awscli wget unzip - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/env@v4 + - uses: milaboratory/github-ci/actions/env@v4-beta with: inputs: ${{ inputs.env }} secrets: ${{ secrets.env }} @@ -622,7 +622,7 @@ jobs: submodules: ${{ inputs.checkout-submodules }} - id: npm-pkg-metadata - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | NPM_PKG_NAME="$(cat "${GITHUB_WORKSPACE}/package.json" | jq --raw-output '.name')" @@ -632,14 +632,14 @@ jobs: ghwa_set_output npm-pkg-version "${NPM_PKG_VERSION}" - id: npm-pkg-status - uses: milaboratory/github-ci/actions/node/npm-pkg-status@v4 + uses: milaboratory/github-ci/actions/node/npm-pkg-status@v4-beta with: npm-pkg-name: ${{ fromJSON(steps.npm-pkg-metadata.outputs.data).npm-pkg-name }} npm-pkg-version: ${{ fromJSON(steps.npm-pkg-metadata.outputs.data).npm-pkg-version }} registry-url: ${{ inputs.registry-url }} npm-auth-token: ${{ env.NPMJS_TOKEN || secrets.GITHUB_TOKEN }} - - uses: milaboratory/github-ci/blocks/node/build/generic@v4 + - uses: milaboratory/github-ci/blocks/node/build/generic@v4-beta if: steps.npm-pkg-status.outputs.exist == '0' && steps.context.outputs.is-release == 'true' env: @@ -686,7 +686,7 @@ jobs: - name: Add MiLab shell utils to PATH if: inputs.gcp-login-enable - uses: milaboratory/github-ci/actions/milab-shell-utils@v4 + uses: milaboratory/github-ci/actions/milab-shell-utils@v4-beta # npm trusted publishing (OIDC): npm 11.5.1+ and, in public repositories, # a package.json `repository` naming this repository (npm adds @@ -695,7 +695,7 @@ jobs: - name: Prepare npm trusted publishing if: steps.npm-pkg-status.outputs.exist == '0' && steps.context.outputs.is-release == 'true' - uses: milaboratory/github-ci/actions/node/prepare-trusted-publishing@v4 + uses: milaboratory/github-ci/actions/node/prepare-trusted-publishing@v4-beta with: package-path: ${{ inputs.node-execution-path }} registry-url: ${{ inputs.registry-url }} @@ -729,7 +729,7 @@ jobs: - name: Create release with tag if: steps.npm-pkg-status.outputs.exist == '0' && steps.context.outputs.is-release == 'true' - uses: milaboratory/github-ci/actions/release/create-with-tag@v4 + uses: milaboratory/github-ci/actions/release/create-with-tag@v4-beta env: NPM_PKG_VERSION: ${{ fromJSON(steps.npm-pkg-metadata.outputs.data).npm-pkg-version }} with: @@ -759,12 +759,12 @@ jobs: steps: - id: search-tags if: always() - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: | release - - uses: milaboratory/github-ci/blocks/notify/release@v4 + - uses: milaboratory/github-ci/blocks/notify/release@v4-beta env: NPM_PKG_VERSION: ${{ needs.publish-to-npm.outputs.npm-pkg-version }} with: diff --git a/actions/action-test/action.yaml b/actions/action-test/action.yaml index 9457247a..7c264323 100644 --- a/actions/action-test/action.yaml +++ b/actions/action-test/action.yaml @@ -18,7 +18,7 @@ runs: steps: - name: Run tests id: tests - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | diff --git a/actions/artifact/save/action.yaml b/actions/artifact/save/action.yaml index 473c07ae..ab6c4639 100644 --- a/actions/artifact/save/action.yaml +++ b/actions/artifact/save/action.yaml @@ -94,7 +94,7 @@ runs: archive_name="artifact-5b3513f5" echo "name=${archive_name}" >> "${GITHUB_OUTPUT}" - - uses: milaboratory/github-ci/actions/files/list@v4 + - uses: milaboratory/github-ci/actions/files/list@v4-beta id: artifact-files with: patterns: ${{ inputs.path }} diff --git a/actions/artifact/write-metadata/action.yaml b/actions/artifact/write-metadata/action.yaml index db700f84..85cddcc1 100644 --- a/actions/artifact/write-metadata/action.yaml +++ b/actions/artifact/write-metadata/action.yaml @@ -46,11 +46,11 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Get repository name id: repo - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | REPO=$(echo "${GITHUB_REPOSITORY}" | cut -d'/' -f2) @@ -58,7 +58,7 @@ runs: - name: Get version type id: version-type - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: IS_RELEASE: ${{ steps.context.outputs.is-release }} with: @@ -69,7 +69,7 @@ runs: echo "snapshot" fi - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta env: DB_URL: ${{ inputs.db-url }} DB_USER: ${{ inputs.db-user }} diff --git a/actions/aws/cloudfront/action.yaml b/actions/aws/cloudfront/action.yaml index 363d1885..366698ec 100644 --- a/actions/aws/cloudfront/action.yaml +++ b/actions/aws/cloudfront/action.yaml @@ -50,7 +50,7 @@ runs: role-to-assume: ${{ inputs.aws-iam-role-to-assume }} aws-region: ${{ inputs.aws-region }} - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta env: CF_DIST_ID: ${{ inputs.aws-cloudfront-distribution-id }} CF_S3_BUCKET_NAME: ${{ inputs.aws-cloudfront-s3-bucket-name }} diff --git a/actions/aws/prefix-delete/action.yaml b/actions/aws/prefix-delete/action.yaml index c01fdc9a..da05d651 100644 --- a/actions/aws/prefix-delete/action.yaml +++ b/actions/aws/prefix-delete/action.yaml @@ -18,7 +18,7 @@ runs: steps: - name: Delete objects under a prefix - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: BUCKET_NAME: ${{ inputs.s3-bucket-name }} PREFIX: ${{ inputs.s3-prefix-name }} diff --git a/actions/ccache/action.yaml b/actions/ccache/action.yaml index ed167e7f..71f80b37 100644 --- a/actions/ccache/action.yaml +++ b/actions/ccache/action.yaml @@ -102,7 +102,7 @@ runs: evict-old-files: ${{ inputs.evict-old-files }} - name: Configure ccache - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OPTS: ${{ inputs.options }} with: diff --git a/actions/context/action.yaml b/actions/context/action.yaml index 0ffab3ce..b5bf8dcc 100644 --- a/actions/context/action.yaml +++ b/actions/context/action.yaml @@ -66,7 +66,7 @@ runs: steps: - id: versions - uses: milaboratory/github-ci/actions/context/get@v4 + uses: milaboratory/github-ci/actions/context/get@v4-beta with: github-token: ${{ inputs.github-token }} diff --git a/actions/context/get/action.yaml b/actions/context/get/action.yaml index 388f3e7f..efcaa509 100644 --- a/actions/context/get/action.yaml +++ b/actions/context/get/action.yaml @@ -47,7 +47,7 @@ runs: steps: - id: needs_update - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: CTX_PATH: ${{ github.action_path }}/../ctx diff --git a/actions/context/init/action.yaml b/actions/context/init/action.yaml index 74e40a4f..7d3251d2 100644 --- a/actions/context/init/action.yaml +++ b/actions/context/init/action.yaml @@ -36,7 +36,7 @@ runs: fetch-tags: true - id: versions - uses: milaboratory/github-ci/actions/detect-version@v4 + uses: milaboratory/github-ci/actions/detect-version@v4-beta with: canonize: ${{ inputs.version-canonize }} fetch-depth: ${{ inputs.version-fetch-depth }} diff --git a/actions/docker/build/action.yaml b/actions/docker/build/action.yaml index 975b6382..dc6ebff1 100644 --- a/actions/docker/build/action.yaml +++ b/actions/docker/build/action.yaml @@ -71,7 +71,7 @@ runs: using: 'composite' steps: - name: Build Docker Image - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta id: build-image env: DOCKERFILE: ${{ inputs.dockerfile }} diff --git a/actions/docker/pl-compose/action.yaml b/actions/docker/pl-compose/action.yaml index bc6f591d..2e8016cb 100644 --- a/actions/docker/pl-compose/action.yaml +++ b/actions/docker/pl-compose/action.yaml @@ -84,7 +84,7 @@ runs: printf 'root:x:0:\npl:x:%s:\n' "$(id -g)" > "${PL_MAIN_ROOT}/.users/group" # Post steps run in reverse order: the last one declared runs first. - - uses: milaboratory/github-ci/actions/post/shell@v4 + - uses: milaboratory/github-ci/actions/post/shell@v4-beta env: PL_MAIN_ROOT: ${{ steps.launch-pl.outputs.main-root }} PL_PACKAGES_ROOT: ${{ steps.launch-pl.outputs.packages-root }} @@ -98,14 +98,14 @@ runs: rm -rf "${PL_MAIN_ROOT}" "${PL_PACKAGES_ROOT}" || echo "::warning title=pl-compose cleanup::failed to remove platforma state roots" - - uses: milaboratory/github-ci/actions/post/artifact@v4 + - uses: milaboratory/github-ci/actions/post/artifact@v4-beta with: name: platforma-dump archive: true path: | ${{ steps.launch-pl.outputs.main-root }} - - uses: milaboratory/github-ci/actions/post/shell@v4 + - uses: milaboratory/github-ci/actions/post/shell@v4-beta env: PL_MAIN_ROOT: ${{ steps.launch-pl.outputs.main-root }} with: diff --git a/actions/docker/push/action.yaml b/actions/docker/push/action.yaml index 1b951bf1..ae25cefc 100644 --- a/actions/docker/push/action.yaml +++ b/actions/docker/push/action.yaml @@ -61,7 +61,7 @@ runs: using: "composite" steps: - - uses: milaboratory/github-ci/actions/docker/login@v4 + - uses: milaboratory/github-ci/actions/docker/login@v4-beta with: registry: ${{ inputs.registry }} user: ${{ inputs.auth-user }} @@ -69,7 +69,7 @@ runs: - name: Render target tag names id: targets - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: SOURCE_TAG: ${{ inputs.source }} TARGET_REGISTRY: ${{ inputs.registry }} @@ -99,7 +99,7 @@ runs: - name: Pushing tags to '${{ inputs.registry }}' id: push - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: SOURCE_TAG: ${{ inputs.source }} with: @@ -123,6 +123,6 @@ runs: - name: Convert targets list to JSON array id: push-json - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: ${{ fromJSON(steps.push.outputs.data).pushed }} diff --git a/actions/docker/scan-docker-repo/action.yaml b/actions/docker/scan-docker-repo/action.yaml index 0d1729fc..b30f968f 100644 --- a/actions/docker/scan-docker-repo/action.yaml +++ b/actions/docker/scan-docker-repo/action.yaml @@ -166,7 +166,7 @@ runs: echo "skipped-file=${skipped_file}" >> "${GITHUB_OUTPUT}" - name: Post save plan - uses: milaboratory/github-ci/actions/post/artifact@v4 + uses: milaboratory/github-ci/actions/post/artifact@v4-beta if: inputs.mode == 'plan' with: name: ${{ inputs.report-name }} @@ -174,7 +174,7 @@ runs: path: ${{ steps.init.outputs.skipped-file }} - name: Post save report - uses: milaboratory/github-ci/actions/post/artifact@v4 + uses: milaboratory/github-ci/actions/post/artifact@v4-beta if: inputs.mode == 'scan' with: name: ${{ inputs.report-name }} diff --git a/actions/docker/scan-pnpm-repo/action.yaml b/actions/docker/scan-pnpm-repo/action.yaml index b4202529..3728d7f6 100644 --- a/actions/docker/scan-pnpm-repo/action.yaml +++ b/actions/docker/scan-pnpm-repo/action.yaml @@ -81,7 +81,7 @@ runs: echo "skipped-file=${skipped_file}" >> "${GITHUB_OUTPUT}" - name: Post save report - uses: milaboratory/github-ci/actions/post/artifact@v4 + uses: milaboratory/github-ci/actions/post/artifact@v4-beta with: name: trivy-report archive: true diff --git a/actions/env/action.yaml b/actions/env/action.yaml index f1256f84..6286e34d 100644 --- a/actions/env/action.yaml +++ b/actions/env/action.yaml @@ -39,12 +39,12 @@ runs: using: "composite" steps: - - uses: milaboratory/github-ci/actions/env/set@v4 + - uses: milaboratory/github-ci/actions/env/set@v4-beta with: json: ${{ inputs.inputs }} mask-values: false - - uses: milaboratory/github-ci/actions/env/set@v4 + - uses: milaboratory/github-ci/actions/env/set@v4-beta with: json: ${{ inputs.secrets }} mask-values: true diff --git a/actions/env/set/action.yaml b/actions/env/set/action.yaml index ca6bc8be..1694c244 100644 --- a/actions/env/set/action.yaml +++ b/actions/env/set/action.yaml @@ -30,7 +30,7 @@ runs: steps: - name: Set from if: inputs.json != '' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: ENV_TO_SET: ${{ inputs.json }} MASK: ${{ inputs.mask-values }} @@ -54,7 +54,7 @@ runs: - name: Set from if: inputs.list != '' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: ENV_TO_SET: ${{ inputs.list }} MASK: ${{ inputs.mask-values }} diff --git a/actions/gcloud-kms-sign/action.yaml b/actions/gcloud-kms-sign/action.yaml index 2f501c5b..b8bb69d2 100644 --- a/actions/gcloud-kms-sign/action.yaml +++ b/actions/gcloud-kms-sign/action.yaml @@ -84,7 +84,7 @@ runs: version: ${{ inputs.gcloud-sdk-version }} - name: Create sig file - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: FILE_PATH: ${{ inputs.file-path }} with: diff --git a/actions/gcp/prefix-delete/action.yaml b/actions/gcp/prefix-delete/action.yaml index 37164504..ea84b5aa 100644 --- a/actions/gcp/prefix-delete/action.yaml +++ b/actions/gcp/prefix-delete/action.yaml @@ -18,7 +18,7 @@ runs: steps: - name: Delete objects under a prefix - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: BUCKET_NAME: ${{ inputs.gcs-bucket-name }} PREFIX: ${{ inputs.gcs-prefix-name }} diff --git a/actions/git/auth/action.yaml b/actions/git/auth/action.yaml index 11b327da..e0f87b6a 100644 --- a/actions/git/auth/action.yaml +++ b/actions/git/auth/action.yaml @@ -18,7 +18,7 @@ inputs: runs: using: "composite" steps: - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta env: GH_TOKEN: ${{ inputs.github-token }} GH_URL_REWRITE: ${{ inputs.github-url-rewrite }} diff --git a/actions/golang/prepare/action.yaml b/actions/golang/prepare/action.yaml index 2e174997..b7b3a716 100644 --- a/actions/golang/prepare/action.yaml +++ b/actions/golang/prepare/action.yaml @@ -70,7 +70,7 @@ runs: - name: Setup Cache for Golang project if: inputs.cache-enabled == 'true' - uses: milaboratory/github-ci/actions/golang/cache@v4 + uses: milaboratory/github-ci/actions/golang/cache@v4-beta with: cache-version: ${{ inputs.cache-version }} cache-dependency-hashfiles-path: ${{ inputs.cache-dependency-hashfiles-path }} diff --git a/actions/helpers/default-value/action.yaml b/actions/helpers/default-value/action.yaml index 6cab3973..fb65b40d 100644 --- a/actions/helpers/default-value/action.yaml +++ b/actions/helpers/default-value/action.yaml @@ -27,7 +27,7 @@ runs: steps: - id: value - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: VALUE: ${{ inputs.value }} DEFAULT: ${{ inputs.default }} diff --git a/actions/helpers/jq/action.yaml b/actions/helpers/jq/action.yaml index 8772fc6a..25b8f088 100644 --- a/actions/helpers/jq/action.yaml +++ b/actions/helpers/jq/action.yaml @@ -25,7 +25,7 @@ runs: steps: - id: jq - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: INPUT_FILE: ${{ inputs.file }} JQ_SELECT: ${{ inputs.select }} diff --git a/actions/helpers/merge-status/action.yaml b/actions/helpers/merge-status/action.yaml index cb2182e6..dc49768d 100644 --- a/actions/helpers/merge-status/action.yaml +++ b/actions/helpers/merge-status/action.yaml @@ -65,7 +65,7 @@ runs: steps: - id: merge - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: INPUT_STATUSES: ${{ inputs.statuses }} with: diff --git a/actions/helpers/safe-ctx/action.yaml b/actions/helpers/safe-ctx/action.yaml index 1ac54194..ed6b903e 100644 --- a/actions/helpers/safe-ctx/action.yaml +++ b/actions/helpers/safe-ctx/action.yaml @@ -13,7 +13,7 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: GITHUB_CONTEXT: ${{ toJSON(github) }} with: diff --git a/actions/java/gradle/cache/action.yaml b/actions/java/gradle/cache/action.yaml index 5c155800..af11c22d 100644 --- a/actions/java/gradle/cache/action.yaml +++ b/actions/java/gradle/cache/action.yaml @@ -106,7 +106,7 @@ runs: using: composite steps: - id: job-id - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: CACHE_KEY: ${{ inputs.job-id }} with: diff --git a/actions/java/gradle/properties/read/action.yaml b/actions/java/gradle/properties/read/action.yaml index 772068d9..8a5022a5 100644 --- a/actions/java/gradle/properties/read/action.yaml +++ b/actions/java/gradle/properties/read/action.yaml @@ -67,7 +67,7 @@ runs: using: "composite" steps: - - uses: milaboratory/github-ci/actions/java/gradle/gradlew@v4 + - uses: milaboratory/github-ci/actions/java/gradle/gradlew@v4-beta with: build-root-directory: ${{ inputs.project-dir }} gradle-home-cache-includes: ${{ inputs.gradle-home-cache-includes }} diff --git a/actions/java/gradle/properties/set/action.yaml b/actions/java/gradle/properties/set/action.yaml index 010870bd..68ea1e36 100644 --- a/actions/java/gradle/properties/set/action.yaml +++ b/actions/java/gradle/properties/set/action.yaml @@ -42,6 +42,6 @@ runs: - name: Dump contents of gradle.properties id: props - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: cat ~/.gradle/gradle.properties diff --git a/actions/k8s/helm-deployment/action.yaml b/actions/k8s/helm-deployment/action.yaml index ea632637..b59ae4cf 100644 --- a/actions/k8s/helm-deployment/action.yaml +++ b/actions/k8s/helm-deployment/action.yaml @@ -71,7 +71,7 @@ runs: steps: - name: Helm repo add platforma if: inputs.helm-chart-name == 'platforma' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | diff --git a/actions/node/npm-pkg-status/action.yaml b/actions/node/npm-pkg-status/action.yaml index cc40f60f..86709b2a 100644 --- a/actions/node/npm-pkg-status/action.yaml +++ b/actions/node/npm-pkg-status/action.yaml @@ -55,7 +55,7 @@ runs: steps: - name: Read package name and version if: inputs.package-json-path != '0' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta id: package env: NPM_PKG_NAME: ${{ inputs.npm-pkg-name }} @@ -83,7 +83,7 @@ runs: ghwa_set_output version "${NPM_PKG_VERSION}" - name: Check NPM package status in a registry - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta id: npm-pkg-status env: NPM_PKG_NAME: ${{ fromJSON(steps.package.outputs.data).name }} @@ -151,7 +151,7 @@ runs: ghwa_set_output exist "0" - id: set-status - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | echo "${{ fromJSON(steps.npm-pkg-status.outputs.data).exist }}" diff --git a/actions/node/prepare-pnpm/action.yaml b/actions/node/prepare-pnpm/action.yaml index 1a405581..dd5322b9 100644 --- a/actions/node/prepare-pnpm/action.yaml +++ b/actions/node/prepare-pnpm/action.yaml @@ -64,7 +64,7 @@ runs: node-version: ${{ inputs.node-version }} - name: Re-Write .npmrc config - uses: milaboratory/github-ci/actions/utils/create-npmrc@v4 + uses: milaboratory/github-ci/actions/utils/create-npmrc@v4-beta if: inputs.npmrc-config != '' with: npmrcConfig: ${{ inputs.npmrc-config }} @@ -82,14 +82,14 @@ runs: - name: Set up pnpm store cache (GitHub) if: inputs.cache-s3-access-key == '' - uses: milaboratory/github-ci/actions/node/cache-pnpm@v4 + uses: milaboratory/github-ci/actions/node/cache-pnpm@v4-beta with: cache-hashfiles-search-path: ${{ inputs.cache-hashfiles-search-path }} cache-version: ${{ inputs.cache-version }} - name: Set up pnpm store cache (RGW / S3) if: inputs.cache-s3-access-key != '' - uses: milaboratory/github-ci/actions/node/cache-pnpm-s3@v4 + uses: milaboratory/github-ci/actions/node/cache-pnpm-s3@v4-beta with: access-key: ${{ inputs.cache-s3-access-key }} secret-key: ${{ inputs.cache-s3-secret-key }} diff --git a/actions/node/prepare/action.yaml b/actions/node/prepare/action.yaml index de2823e3..9993b809 100644 --- a/actions/node/prepare/action.yaml +++ b/actions/node/prepare/action.yaml @@ -90,13 +90,13 @@ runs: always-auth: ${{ inputs.always-auth }} - name: Re-Write .npmrc config - uses: milaboratory/github-ci/actions/utils/create-npmrc@v4 + uses: milaboratory/github-ci/actions/utils/create-npmrc@v4-beta if: inputs.npmrc-config != '' with: npmrcConfig: ${{ inputs.npmrc-config }} - name: Set up cache for a NodeJS/Electron application - uses: milaboratory/github-ci/actions/node/cache@v4 + uses: milaboratory/github-ci/actions/node/cache@v4-beta with: is-electron-application: ${{ inputs.is-electron-application }} hashfiles-search-path: ${{ inputs.hashfiles-search-path }} diff --git a/actions/notify/slack/build-failed/action.yaml b/actions/notify/slack/build-failed/action.yaml index d19ae2d4..a23811a4 100644 --- a/actions/notify/slack/build-failed/action.yaml +++ b/actions/notify/slack/build-failed/action.yaml @@ -34,9 +34,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -135,7 +135,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/build-ready/action.yaml b/actions/notify/slack/build-ready/action.yaml index adb94b0c..406ec088 100644 --- a/actions/notify/slack/build-ready/action.yaml +++ b/actions/notify/slack/build-ready/action.yaml @@ -50,9 +50,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -183,7 +183,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/deployment-cancelled/action.yaml b/actions/notify/slack/deployment-cancelled/action.yaml index 54f902fe..a54adddc 100644 --- a/actions/notify/slack/deployment-cancelled/action.yaml +++ b/actions/notify/slack/deployment-cancelled/action.yaml @@ -41,9 +41,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -141,7 +141,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/deployment-failed/action.yaml b/actions/notify/slack/deployment-failed/action.yaml index fc7cbc9d..15add74d 100644 --- a/actions/notify/slack/deployment-failed/action.yaml +++ b/actions/notify/slack/deployment-failed/action.yaml @@ -41,9 +41,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -142,7 +142,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/deployment-success/action.yaml b/actions/notify/slack/deployment-success/action.yaml index 45262d9e..43da62df 100644 --- a/actions/notify/slack/deployment-success/action.yaml +++ b/actions/notify/slack/deployment-success/action.yaml @@ -41,9 +41,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -141,7 +141,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/publish/action.yaml b/actions/notify/slack/publish/action.yaml index 88b554e1..86303fce 100644 --- a/actions/notify/slack/publish/action.yaml +++ b/actions/notify/slack/publish/action.yaml @@ -50,9 +50,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -170,7 +170,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/release-failed/action.yaml b/actions/notify/slack/release-failed/action.yaml index 9abba6d1..369f4498 100644 --- a/actions/notify/slack/release-failed/action.yaml +++ b/actions/notify/slack/release-failed/action.yaml @@ -37,9 +37,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -128,7 +128,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/release-ready/action.yaml b/actions/notify/slack/release-ready/action.yaml index 76057066..e02cb71c 100644 --- a/actions/notify/slack/release-ready/action.yaml +++ b/actions/notify/slack/release-ready/action.yaml @@ -49,9 +49,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -169,7 +169,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/review-required/action.yaml b/actions/notify/slack/review-required/action.yaml index 659eecd9..6fbc9d16 100644 --- a/actions/notify/slack/review-required/action.yaml +++ b/actions/notify/slack/review-required/action.yaml @@ -33,14 +33,14 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/strings/json-list@v4 + - uses: milaboratory/github-ci/actions/strings/json-list@v4-beta id: reviewers with: input: ${{ inputs.reviewers }} - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -90,7 +90,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/test-regression/action.yaml b/actions/notify/slack/test-regression/action.yaml index 3a06188b..584315b8 100644 --- a/actions/notify/slack/test-regression/action.yaml +++ b/actions/notify/slack/test-regression/action.yaml @@ -42,9 +42,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -133,7 +133,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/slack/tests/action.yaml b/actions/notify/slack/tests/action.yaml index 27093881..d77c2762 100644 --- a/actions/notify/slack/tests/action.yaml +++ b/actions/notify/slack/tests/action.yaml @@ -45,9 +45,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja-js@v4 + - uses: milaboratory/github-ci/actions/templates/jinja-js@v4-beta id: payload with: githubContext: ${{ steps.safe-ctx.outputs.github }} @@ -159,7 +159,7 @@ runs: "channel": "{{ slack_channel }}" } - - uses: milaboratory/github-ci/actions/notify/slack/send@v4 + - uses: milaboratory/github-ci/actions/notify/slack/send@v4-beta with: token: ${{ inputs.slack-bot-token }} method: ${{ inputs.slack-bot-method }} diff --git a/actions/notify/telegram/build-failed/action.yaml b/actions/notify/telegram/build-failed/action.yaml index 10a55156..5dc4ffac 100644 --- a/actions/notify/telegram/build-failed/action.yaml +++ b/actions/notify/telegram/build-failed/action.yaml @@ -39,9 +39,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -75,7 +75,7 @@ runs: ) ] Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/build-ready/action.yaml b/actions/notify/telegram/build-ready/action.yaml index e8aa61fa..2c0ae5ee 100644 --- a/actions/notify/telegram/build-ready/action.yaml +++ b/actions/notify/telegram/build-ready/action.yaml @@ -62,9 +62,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -126,7 +126,7 @@ runs: ) ] Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/deployment-cancelled/action.yaml b/actions/notify/telegram/deployment-cancelled/action.yaml index a0b753dd..9c191730 100644 --- a/actions/notify/telegram/deployment-cancelled/action.yaml +++ b/actions/notify/telegram/deployment-cancelled/action.yaml @@ -50,9 +50,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -92,7 +92,7 @@ runs: Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/deployment-failed/action.yaml b/actions/notify/telegram/deployment-failed/action.yaml index e087b730..e5f29a19 100644 --- a/actions/notify/telegram/deployment-failed/action.yaml +++ b/actions/notify/telegram/deployment-failed/action.yaml @@ -50,9 +50,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -92,7 +92,7 @@ runs: Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/deployment-success/action.yaml b/actions/notify/telegram/deployment-success/action.yaml index be6d2426..8c1c341b 100644 --- a/actions/notify/telegram/deployment-success/action.yaml +++ b/actions/notify/telegram/deployment-success/action.yaml @@ -50,9 +50,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -92,7 +92,7 @@ runs: Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/publish/action.yaml b/actions/notify/telegram/publish/action.yaml index a90f6e2e..df6972d1 100644 --- a/actions/notify/telegram/publish/action.yaml +++ b/actions/notify/telegram/publish/action.yaml @@ -62,9 +62,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -112,7 +112,7 @@ runs: ) ] Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/release-failed/action.yaml b/actions/notify/telegram/release-failed/action.yaml index 5b1ea7b2..fbcde342 100644 --- a/actions/notify/telegram/release-failed/action.yaml +++ b/actions/notify/telegram/release-failed/action.yaml @@ -43,9 +43,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -76,7 +76,7 @@ runs: {%- endif %} Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/release-ready/action.yaml b/actions/notify/telegram/release-ready/action.yaml index e566176f..d43bb87c 100644 --- a/actions/notify/telegram/release-ready/action.yaml +++ b/actions/notify/telegram/release-ready/action.yaml @@ -63,9 +63,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -119,7 +119,7 @@ runs: ) ] Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/review-required/action.yaml b/actions/notify/telegram/review-required/action.yaml index 40515486..c46a6b5b 100644 --- a/actions/notify/telegram/review-required/action.yaml +++ b/actions/notify/telegram/review-required/action.yaml @@ -38,14 +38,14 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/strings/json-list@v4 + - uses: milaboratory/github-ci/actions/strings/json-list@v4-beta id: reviewers with: input: ${{ inputs.reviewers }} - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -77,7 +77,7 @@ runs: {{ product["additional_info"] }} {%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/test-regression/action.yaml b/actions/notify/telegram/test-regression/action.yaml index 5f16fc01..73f93f2e 100644 --- a/actions/notify/telegram/test-regression/action.yaml +++ b/actions/notify/telegram/test-regression/action.yaml @@ -51,9 +51,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -86,7 +86,7 @@ runs: ) ] Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/notify/telegram/tests/action.yaml b/actions/notify/telegram/tests/action.yaml index aeebc369..094b3873 100644 --- a/actions/notify/telegram/tests/action.yaml +++ b/actions/notify/telegram/tests/action.yaml @@ -58,9 +58,9 @@ runs: steps: - id: safe-ctx - uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4 + uses: milaboratory/github-ci/actions/helpers/safe-ctx@v4-beta - - uses: milaboratory/github-ci/actions/templates/jinja@v4 + - uses: milaboratory/github-ci/actions/templates/jinja@v4-beta id: message with: data: | @@ -104,7 +104,7 @@ runs: ) ] Tags: #{{- github["event"]["repository"]["name"] | replace("-", "_") | replace(".", "_") -}} {%- if search_tags | length > 0 %}{% for i in search_tags %} #{{ i | replace("-", "_") | replace("/", "_") }} {% endfor %}{%- endif %} - - uses: milaboratory/github-ci/actions/notify/telegram/send@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/send@v4-beta with: to: ${{ inputs.telegram-target }} token: ${{ inputs.telegram-token }} diff --git a/actions/python/prepare/action.yaml b/actions/python/prepare/action.yaml index 859674f6..c73d7a08 100644 --- a/actions/python/prepare/action.yaml +++ b/actions/python/prepare/action.yaml @@ -46,7 +46,7 @@ runs: python-version: '${{ inputs.python-version }}' - name: Setup Cache for Python project - uses: milaboratory/github-ci/actions/python/cache@v4 + uses: milaboratory/github-ci/actions/python/cache@v4-beta with: version: ${{ inputs.cache-version }} hashfiles-search-path: ${{ inputs.cache-hashfiles-search-path }} diff --git a/actions/release/create/action.yaml b/actions/release/create/action.yaml index 1e883755..d7a8d242 100644 --- a/actions/release/create/action.yaml +++ b/actions/release/create/action.yaml @@ -124,7 +124,7 @@ runs: exclude_types: ${{ inputs.changelog-exclude-types }} - id: assets - uses: milaboratory/github-ci/actions/strings/join@v4 + uses: milaboratory/github-ci/actions/strings/join@v4-beta with: input: ${{ inputs.assets }} separator: ',' diff --git a/actions/rust/prepare/action.yaml b/actions/rust/prepare/action.yaml index dfa1ddd5..0bb9b5b5 100644 --- a/actions/rust/prepare/action.yaml +++ b/actions/rust/prepare/action.yaml @@ -59,7 +59,7 @@ runs: components: ${{ inputs.rust-components }} - name: Setup Cache for Rust project - uses: milaboratory/github-ci/actions/rust/cache@v4 + uses: milaboratory/github-ci/actions/rust/cache@v4-beta with: cache-version: ${{ inputs.cache-version }} cache-hashfiles-search-path: ${{ inputs.cache-hashfiles-search-path }} diff --git a/actions/strings/convert-paths/action.yaml b/actions/strings/convert-paths/action.yaml index 0250eee0..3567f6d3 100644 --- a/actions/strings/convert-paths/action.yaml +++ b/actions/strings/convert-paths/action.yaml @@ -35,7 +35,7 @@ runs: steps: - name: Convert paths id: converted - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: ABS_ROOT: ${{ inputs.abs-root }} REL_ROOT: ${{ inputs.rel-root }} diff --git a/actions/strings/join/action.yaml b/actions/strings/join/action.yaml index 614d2828..6340b074 100644 --- a/actions/strings/join/action.yaml +++ b/actions/strings/join/action.yaml @@ -37,7 +37,7 @@ runs: steps: - name: Join lines id: join - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: INPUT_TEXT: ${{ inputs.input }} SEPARATOR: ${{ inputs.separator }} diff --git a/actions/strings/json-list/action.yaml b/actions/strings/json-list/action.yaml index 6b46eb36..77228d42 100644 --- a/actions/strings/json-list/action.yaml +++ b/actions/strings/json-list/action.yaml @@ -26,7 +26,7 @@ runs: steps: - name: Convert to JSON array id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: INPUT_LINES: ${{ inputs.input }} diff --git a/actions/strings/prefix/action.yaml b/actions/strings/prefix/action.yaml index c1b54381..b3657d96 100644 --- a/actions/strings/prefix/action.yaml +++ b/actions/strings/prefix/action.yaml @@ -28,7 +28,7 @@ runs: steps: - name: Prefix lines id: prefix - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: INPUT_TEXT: ${{ inputs.input }} PREFIX_TEXT: ${{ inputs.prefix }} diff --git a/actions/templates/jinja/action.yaml b/actions/templates/jinja/action.yaml index 1cff0a48..1efb7547 100644 --- a/actions/templates/jinja/action.yaml +++ b/actions/templates/jinja/action.yaml @@ -92,7 +92,7 @@ runs: using: "composite" steps: - name: Detect template path - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta id: tpl-path env: TEMPLATE: ${{ inputs.template }} @@ -116,7 +116,7 @@ runs: echo "${temp_tpl_path}" - name: Detect data path - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta id: data-path env: DATA: ${{ inputs.data }} @@ -140,7 +140,7 @@ runs: echo "${temp_data_path}" - name: Detect output path - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta id: out-path env: OUTPUT_FILE: ${{ inputs.out-file }} @@ -153,7 +153,7 @@ runs: mktemp ./XXXXXXXXXXX - - uses: milaboratory/github-ci/actions/templates/jinja/wrapper@v4 + - uses: milaboratory/github-ci/actions/templates/jinja/wrapper@v4-beta with: template: ${{ steps.tpl-path.outputs.stdout }} output_file: ${{ steps.out-path.outputs.stdout }} @@ -162,7 +162,7 @@ runs: data_file: ${{ steps.data-path.outputs.stdout }} data_format: ${{ inputs.data-format }} - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta id: result if: inputs.dump-output env: diff --git a/blocks/java/build/action.yaml b/blocks/java/build/action.yaml index df3360c5..eedfa1fd 100644 --- a/blocks/java/build/action.yaml +++ b/blocks/java/build/action.yaml @@ -203,7 +203,7 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Prepare env for Java application build if: inputs.java-version != '' @@ -223,7 +223,7 @@ runs: - name: Set gradle.properties if: inputs.properties != '' - uses: milaboratory/github-ci/actions/java/gradle/properties/set@v4 + uses: milaboratory/github-ci/actions/java/gradle/properties/set@v4-beta with: properties: | ${{ inputs.properties }} @@ -233,7 +233,7 @@ runs: - name: Generate list of tasks to exclude id: excludes - uses: milaboratory/github-ci/actions/strings/prefix@v4 + uses: milaboratory/github-ci/actions/strings/prefix@v4-beta with: input: ${{ inputs.exclude-tasks }} prefix: |- @@ -242,13 +242,13 @@ runs: - name: Generate build tasks id: tasks - uses: milaboratory/github-ci/actions/strings/prefix@v4 + uses: milaboratory/github-ci/actions/strings/prefix@v4-beta with: input: ${{ inputs.tasks }} prefix: ${{ inputs.project && format(':{0}:', inputs.project) || ':' }} - name: Build project - uses: milaboratory/github-ci/actions/java/gradle/gradlew@v4 + uses: milaboratory/github-ci/actions/java/gradle/gradlew@v4-beta with: build-root-directory: ${{ inputs.project-dir }} gradle-home-cache-includes: ${{ inputs.gradle-home-cache-includes }} @@ -265,14 +265,14 @@ runs: - name: Read actual project properties id: gradle-props - uses: milaboratory/github-ci/actions/java/gradle/properties/read@v4 + uses: milaboratory/github-ci/actions/java/gradle/properties/read@v4-beta with: project-dir: ${{ inputs.project-dir }} project-name: ${{ inputs.project }} - name: Generate artifacts paths id: artifact-paths - uses: milaboratory/github-ci/actions/strings/convert-paths@v4 + uses: milaboratory/github-ci/actions/strings/convert-paths@v4-beta with: rel-root: ${{ steps.gradle-props.outputs.buildDir }}/ abs-root: . @@ -286,7 +286,7 @@ runs: path: ${{ steps.artifact-paths.outputs.result }} retention-days: ${{ inputs.artifact-retention }} - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta if: inputs.upload-obfuscation-mapping env: UPLOAD_ENABLED: ${{ inputs.upload-obfuscation-mapping }} @@ -309,7 +309,7 @@ runs: ghwa_set_env "OBFUS_MAPPING_LOCAL_PATH" "${OBFUS_MAPPING_LOCAL_PATH}" ghwa_set_env "UPLOAD_MAPPING" "true" - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta if: always() && env.UPLOAD_MAPPING == 'true' id: upload-mapping env: diff --git a/blocks/java/publish/docker/action.yaml b/blocks/java/publish/docker/action.yaml index f6bb5877..a3892339 100644 --- a/blocks/java/publish/docker/action.yaml +++ b/blocks/java/publish/docker/action.yaml @@ -36,12 +36,12 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Generate push targets list id: push-targets - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: IS_RELEASE: ${{ steps.context.outputs.is-release }} IS_LATEST_VERSION: ${{ steps.context.outputs.is-latest-version }} @@ -70,7 +70,7 @@ runs: - name: Publish docker image id: docker-push - uses: milaboratory/github-ci/actions/docker/push@v4 + uses: milaboratory/github-ci/actions/docker/push@v4-beta with: auth-token: ${{ inputs.github-token }} source: ${{ inputs.project }}:${{ steps.context.outputs.current-version }} diff --git a/blocks/java/test/action.yaml b/blocks/java/test/action.yaml index dea05192..eb467a0f 100644 --- a/blocks/java/test/action.yaml +++ b/blocks/java/test/action.yaml @@ -233,7 +233,7 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Prepare env for Java application build uses: actions/setup-java@v4 @@ -248,7 +248,7 @@ runs: python-version: ${{ inputs.python-version }} - name: Set gradle.properties - uses: milaboratory/github-ci/actions/java/gradle/properties/set@v4 + uses: milaboratory/github-ci/actions/java/gradle/properties/set@v4-beta with: properties: | ${{ inputs.properties }} @@ -258,7 +258,7 @@ runs: - name: Read actual project properties id: gradle-props - uses: milaboratory/github-ci/actions/java/gradle/properties/read@v4 + uses: milaboratory/github-ci/actions/java/gradle/properties/read@v4-beta with: project-dir: ${{ inputs.project-dir }} project-name: ${{ inputs.project }} @@ -270,7 +270,7 @@ runs: - name: Generate upload path id: upload-path - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | rand="$( @@ -282,7 +282,7 @@ runs: - name: Generate list of tasks to exclude id: excludes - uses: milaboratory/github-ci/actions/strings/prefix@v4 + uses: milaboratory/github-ci/actions/strings/prefix@v4-beta with: input: ${{ inputs.exclude-tasks }} prefix: |- @@ -299,14 +299,14 @@ runs: - name: Generate before-hooks tasks id: before-hooks-tasks if: inputs.before-hooks-tasks != '' - uses: milaboratory/github-ci/actions/strings/prefix@v4 + uses: milaboratory/github-ci/actions/strings/prefix@v4-beta with: input: ${{ inputs.before-hooks-tasks }} prefix: ${{ inputs.project && format(':{0}:', inputs.project) || ':' }} - name: Run before-hooks tasks if: steps.before-hooks-tasks.outputs.result != '' - uses: milaboratory/github-ci/actions/java/gradle/gradlew@v4 + uses: milaboratory/github-ci/actions/java/gradle/gradlew@v4-beta with: build-root-directory: ${{ inputs.project-dir }} arguments: |- @@ -319,21 +319,21 @@ runs: - name: Run 'before-tests' hook if: inputs.hook-before != '' - uses: milaboratory/github-ci/actions/helpers/safe-run@v4 + uses: milaboratory/github-ci/actions/helpers/safe-run@v4-beta with: script-path: ${{ inputs.hook-before }} - name: Generate test tasks id: test-tasks if: inputs.tasks != '' - uses: milaboratory/github-ci/actions/strings/prefix@v4 + uses: milaboratory/github-ci/actions/strings/prefix@v4-beta with: input: ${{ inputs.tasks }} prefix: ${{ inputs.project && format(':{0}:', inputs.project) || ':' }} - name: Run tests if: steps.test-tasks.outputs.result != '' - uses: milaboratory/github-ci/actions/java/gradle/gradlew@v4 + uses: milaboratory/github-ci/actions/java/gradle/gradlew@v4-beta with: build-root-directory: ${{ inputs.project-dir }} arguments: |- @@ -346,7 +346,7 @@ runs: - name: Run test command if: inputs.hook-after == '' && inputs.test-command != '' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: TEST_CMD: ${{ inputs.test-command }} TEST_DIR: ${{ inputs.test-directory }} @@ -366,14 +366,14 @@ runs: - name: Run 'after-tests' hook if: inputs.hook-after != '' && inputs.test-command == '' - uses: milaboratory/github-ci/actions/helpers/safe-run@v4 + uses: milaboratory/github-ci/actions/helpers/safe-run@v4-beta with: script-path: ${{ inputs.hook-after }} - name: Check if we should upload results to S3 id: should-upload if: always() - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: UPLOAD_ENABLED: ${{ inputs.upload-report }} BUILD_DIR: ${{ steps.gradle-props.outputs.buildDir }} @@ -404,7 +404,7 @@ runs: - name: Upload test results id: upload-report if: always() && env.UPLOAD_REPORT == 'true' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | aws s3 cp --recursive \ diff --git a/blocks/monorepo/build-and-test-pnpm/action.yaml b/blocks/monorepo/build-and-test-pnpm/action.yaml index 6d6f3e65..5faf9c12 100644 --- a/blocks/monorepo/build-and-test-pnpm/action.yaml +++ b/blocks/monorepo/build-and-test-pnpm/action.yaml @@ -110,7 +110,7 @@ runs: - name: Upload coverage reports to Codecov if: inputs.test-coverage == 'true' - uses: milaboratory/github-ci/actions/node/upload-coverage@v4 + uses: milaboratory/github-ci/actions/node/upload-coverage@v4-beta with: test-coverage-reports: ${{ inputs.test-coverage-reports }} test-results-reports: ${{ inputs.test-results-reports }} diff --git a/blocks/monorepo/test-pl-docker-pnpm/action.yaml b/blocks/monorepo/test-pl-docker-pnpm/action.yaml index 8f0222a1..6aac101f 100644 --- a/blocks/monorepo/test-pl-docker-pnpm/action.yaml +++ b/blocks/monorepo/test-pl-docker-pnpm/action.yaml @@ -97,7 +97,7 @@ runs: steps: - name: Run turbo tests dry-run id: turbo-dry-run - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta if: inputs.test-skip-dry-run != 'true' env: TEST_DRY_RUN: ${{ inputs.test-dry-run-script-name }} @@ -118,7 +118,7 @@ runs: exit 0 fi - - uses: milaboratory/github-ci/actions/docker/pl-compose@v4 + - uses: milaboratory/github-ci/actions/docker/pl-compose@v4-beta name: Launch Platforma docker container if: inputs.pl-start-service != 'false' && (env.SKIP_TESTS != 'true' || inputs.test-skip-dry-run == 'true') id: pl-compose @@ -150,14 +150,14 @@ runs: - name: Upload coverage reports to Codecov if: inputs.test-coverage == 'true' - uses: milaboratory/github-ci/actions/node/upload-coverage@v4 + uses: milaboratory/github-ci/actions/node/upload-coverage@v4-beta with: test-coverage-reports: ${{ inputs.test-coverage-reports }} test-results-reports: ${{ inputs.test-results-reports }} - name: Restore assets ownership if: always() && inputs.pl-start-service != 'false' && (env.SKIP_TESTS != 'true' || inputs.test-skip-dry-run == 'true') - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: PL_ASSETS_DIR: ${{ format('{0}/{1}', github.workspace, inputs.pl-test-assets-dir) }} with: diff --git a/blocks/monorepo/test-pl-k8s-pnpm/action.yaml b/blocks/monorepo/test-pl-k8s-pnpm/action.yaml index a71a0d9e..28774f67 100644 --- a/blocks/monorepo/test-pl-k8s-pnpm/action.yaml +++ b/blocks/monorepo/test-pl-k8s-pnpm/action.yaml @@ -106,7 +106,7 @@ runs: using: "composite" steps: - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta with: node-version: ${{ inputs.node-version }} cache-version: ${{ inputs.cache-version }} diff --git a/blocks/node/build-and-publish/action.yaml b/blocks/node/build-and-publish/action.yaml index 57ff4e93..9435f8a9 100644 --- a/blocks/node/build-and-publish/action.yaml +++ b/blocks/node/build-and-publish/action.yaml @@ -153,10 +153,10 @@ runs: ecr: false - name: Add MiLab shell utils to PATH - uses: milaboratory/github-ci/actions/milab-shell-utils@v4 + uses: milaboratory/github-ci/actions/milab-shell-utils@v4-beta - id: artifact-path - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: WORKING_DIRECTORY: ${{ inputs.execution-path }} with: @@ -169,7 +169,7 @@ runs: path: ${{ steps.artifact-path.outputs.stdout }} - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare@v4 + uses: milaboratory/github-ci/actions/node/prepare@v4-beta with: node-version: ${{ inputs.node-version }} cache-version: ${{ inputs.node-cache-version }} @@ -195,7 +195,7 @@ runs: npm ci - name: Patch package version - uses: milaboratory/github-ci/actions/node/patch-version@v4 + uses: milaboratory/github-ci/actions/node/patch-version@v4-beta with: package_json: ${{ format('{0}/{1}/package.json', github.workspace, inputs.execution-path) }} version: ${{ inputs.build-version }} @@ -215,10 +215,10 @@ runs: # 404 pulling the image at runtime (MILAB-6714 for the block CI, MILAB-6872 here). - name: Verify referenced docker images exist if: inputs.verify-docker-images == 'true' - uses: milaboratory/github-ci/blocks/monorepo/verify-docker-images@v4 + uses: milaboratory/github-ci/blocks/monorepo/verify-docker-images@v4-beta - name: Perform security scan checks before publication - uses: milaboratory/github-ci/actions/docker/scan-pnpm-repo@v4 + uses: milaboratory/github-ci/actions/docker/scan-pnpm-repo@v4-beta with: package-paths: | ${{ inputs.execution-path }} @@ -227,7 +227,7 @@ runs: # a package.json `repository` naming this repository. The caller's job # needs `id-token: write`; npm-auth-token is used only if OIDC fails. - name: Prepare npm trusted publishing - uses: milaboratory/github-ci/actions/node/prepare-trusted-publishing@v4 + uses: milaboratory/github-ci/actions/node/prepare-trusted-publishing@v4-beta with: package-path: ${{ inputs.execution-path }} registry-url: ${{ inputs.registry-url }} diff --git a/blocks/node/build-and-test-pnpm/action.yaml b/blocks/node/build-and-test-pnpm/action.yaml index 1e43ab39..6cca23ff 100644 --- a/blocks/node/build-and-test-pnpm/action.yaml +++ b/blocks/node/build-and-test-pnpm/action.yaml @@ -83,7 +83,7 @@ runs: steps: - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta with: node-version: ${{ inputs.node-version }} cache-version: ${{ inputs.cache-version }} @@ -92,14 +92,14 @@ runs: npmrc-config: ${{ inputs.npmrc-config }} - name: Install NodeJS packages with pnpm - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: dump-stdout: false run: | pnpm install --frozen-lockfile --prefer-offline - name: Run build - ${{ inputs.build-script-name }} - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: PNPM_R: ${{ inputs.pnpm-recursive-build }} PNPM_ARGS: ${{ inputs.pnpm-build-args }} @@ -120,7 +120,7 @@ runs: fi - name: Run test - ${{ inputs.test-script-name}} - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta if: inputs.tests == 'true' env: PNPM_R: ${{ inputs.pnpm-recursive-tests }} diff --git a/blocks/node/build/generic/action.yaml b/blocks/node/build/generic/action.yaml index 236a6e83..a4b3ca5b 100644 --- a/blocks/node/build/generic/action.yaml +++ b/blocks/node/build/generic/action.yaml @@ -88,7 +88,7 @@ runs: steps: - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare@v4 + uses: milaboratory/github-ci/actions/node/prepare@v4-beta env: NODE_AUTH_TOKEN: ${{ inputs.npm-auth-token }} with: @@ -105,7 +105,7 @@ runs: install-deps: true - name: Patch package version - uses: milaboratory/github-ci/actions/node/patch-version@v4 + uses: milaboratory/github-ci/actions/node/patch-version@v4-beta if: inputs.build-version != '' with: working-directory: ${{ inputs.working-directory }} diff --git a/blocks/node/test/action.yaml b/blocks/node/test/action.yaml index ed7b10c5..f4785eed 100644 --- a/blocks/node/test/action.yaml +++ b/blocks/node/test/action.yaml @@ -106,7 +106,7 @@ runs: steps: - name: Prepare environment for running a NodeJS application tests - uses: milaboratory/github-ci/actions/node/prepare@v4 + uses: milaboratory/github-ci/actions/node/prepare@v4-beta env: NODE_AUTH_TOKEN: ${{ inputs.npm-auth-token }} with: @@ -123,7 +123,7 @@ runs: install-deps: true - name: Patch package version - uses: milaboratory/github-ci/actions/node/patch-version@v4 + uses: milaboratory/github-ci/actions/node/patch-version@v4-beta if: inputs.package-version != '' with: working-directory: ${{ inputs.working-directory }} diff --git a/blocks/notify/build/action.yaml b/blocks/notify/build/action.yaml index e7235d0e..7a21c9d6 100644 --- a/blocks/notify/build/action.yaml +++ b/blocks/notify/build/action.yaml @@ -89,10 +89,10 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: category - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: IS_RELEASE: ${{ steps.context.outputs.is-release }} with: @@ -104,7 +104,7 @@ runs: fi - id: define-version - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_VERSION: ${{ inputs.override-version }} CURRENT_VERSION: ${{ steps.context.outputs.current-version }} @@ -118,12 +118,12 @@ runs: - id: build-status name: Merge build statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.build-status }} - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: MAVEN_PACKAGES: ${{ inputs.maven-packages }} DOCKER_IMAGES: ${{ inputs.docker-images }} @@ -141,7 +141,7 @@ runs: if: steps.build-status.outputs.status != 'success' && inputs.notification-mode != 'success-only' - uses: milaboratory/github-ci/actions/notify/telegram/build-failed@v4 + uses: milaboratory/github-ci/actions/notify/telegram/build-failed@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} @@ -156,7 +156,7 @@ runs: if: steps.build-status.outputs.status == 'success' && inputs.notification-mode != 'failure-only' - uses: milaboratory/github-ci/actions/notify/telegram/build-ready@v4 + uses: milaboratory/github-ci/actions/notify/telegram/build-ready@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} diff --git a/blocks/notify/deployment/action.yaml b/blocks/notify/deployment/action.yaml index 40970e5f..87fe0804 100644 --- a/blocks/notify/deployment/action.yaml +++ b/blocks/notify/deployment/action.yaml @@ -58,16 +58,16 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: job-status name: Merge job statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.job-status }} - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: DOCKER_IMAGES: ${{ inputs.docker-images }} SEARCH_TAGS: ${{ inputs.search-tags }} @@ -79,7 +79,7 @@ runs: - name: Report 'deployment failed' to Telegram if: steps.job-status.outputs.status == 'failure' - uses: milaboratory/github-ci/actions/notify/telegram/deployment-failed@v4 + uses: milaboratory/github-ci/actions/notify/telegram/deployment-failed@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} @@ -94,7 +94,7 @@ runs: - name: Report 'deployment success' to Telegram if: steps.job-status.outputs.status == 'success' - uses: milaboratory/github-ci/actions/notify/telegram/deployment-success@v4 + uses: milaboratory/github-ci/actions/notify/telegram/deployment-success@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} @@ -109,7 +109,7 @@ runs: - name: Report 'deployment canceled' to Telegram if: steps.job-status.outputs.status == 'cancelled' - uses: milaboratory/github-ci/actions/notify/telegram/deployment-cancelled@v4 + uses: milaboratory/github-ci/actions/notify/telegram/deployment-cancelled@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} diff --git a/blocks/notify/publish/action.yaml b/blocks/notify/publish/action.yaml index 55c89680..81490ccf 100644 --- a/blocks/notify/publish/action.yaml +++ b/blocks/notify/publish/action.yaml @@ -71,9 +71,9 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta id: category env: IS_RELEASE: ${{ steps.context.outputs.is-release }} @@ -86,7 +86,7 @@ runs: fi - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: SEARCH_TAGS: ${{ inputs.search-tags }} with: @@ -96,13 +96,13 @@ runs: - id: job-status name: Merge publish job statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.job-status }} - name: Report publish result to Telegram if: inputs.telegram-target != '' - uses: milaboratory/github-ci/actions/notify/telegram/publish@v4 + uses: milaboratory/github-ci/actions/notify/telegram/publish@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} diff --git a/blocks/notify/release/action.yaml b/blocks/notify/release/action.yaml index 606a0e6c..8bcbe7d8 100644 --- a/blocks/notify/release/action.yaml +++ b/blocks/notify/release/action.yaml @@ -86,10 +86,10 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: define-version - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_VERSION: ${{ inputs.override-version }} CURRENT_VERSION: ${{ steps.context.outputs.current-version }} @@ -102,7 +102,7 @@ runs: fi - id: define-tag - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_TAG: ${{ inputs.override-tag }} CURRENT_TAG: ${{ steps.context.outputs.current-version-tag }} @@ -116,12 +116,12 @@ runs: - id: job-status name: Merge job statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.job-status }} - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: MAVEN_PACKAGES: ${{ inputs.maven-packages }} DOCKER_IMAGES: ${{ inputs.docker-images }} @@ -137,7 +137,7 @@ runs: - name: Report 'release failed' to Telegram if: steps.job-status.outputs.status != 'success' - uses: milaboratory/github-ci/actions/notify/telegram/release-failed@v4 + uses: milaboratory/github-ci/actions/notify/telegram/release-failed@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} @@ -151,7 +151,7 @@ runs: - name: Report 'new release' to Telegram if: steps.job-status.outputs.status == 'success' - uses: milaboratory/github-ci/actions/notify/telegram/release-ready@v4 + uses: milaboratory/github-ci/actions/notify/telegram/release-ready@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} diff --git a/blocks/notify/review-required/action.yaml b/blocks/notify/review-required/action.yaml index 4112a23f..73d7440e 100644 --- a/blocks/notify/review-required/action.yaml +++ b/blocks/notify/review-required/action.yaml @@ -43,11 +43,11 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Send new release notigication to Telegram if: inputs.telegram-target != '' - uses: milaboratory/github-ci/actions/notify/telegram/review-required@v4 + uses: milaboratory/github-ci/actions/notify/telegram/review-required@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} diff --git a/blocks/notify/slack/build/action.yaml b/blocks/notify/slack/build/action.yaml index 631c0fd7..6df99093 100644 --- a/blocks/notify/slack/build/action.yaml +++ b/blocks/notify/slack/build/action.yaml @@ -55,10 +55,10 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: category - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: IS_RELEASE: ${{ steps.context.outputs.is-release }} with: @@ -70,7 +70,7 @@ runs: fi - id: define-version - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_VERSION: ${{ inputs.override-version }} CURRENT_VERSION: ${{ steps.context.outputs.current-version }} @@ -84,12 +84,12 @@ runs: - id: build-status name: Merge build statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.job-status }} - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: MAVEN_PACKAGES: ${{ inputs.maven-packages }} DOCKER_IMAGES: ${{ inputs.docker-images }} @@ -105,7 +105,7 @@ runs: - name: Notify on build failure if: steps.build-status.outputs.status != 'success' && inputs.notification-mode != 'success-only' - uses: milaboratory/github-ci/actions/notify/slack/build-failed@v4 + uses: milaboratory/github-ci/actions/notify/slack/build-failed@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} @@ -116,7 +116,7 @@ runs: - name: Notify on build success if: steps.build-status.outputs.status == 'success' && inputs.notification-mode != 'failure-only' - uses: milaboratory/github-ci/actions/notify/slack/build-ready@v4 + uses: milaboratory/github-ci/actions/notify/slack/build-ready@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} diff --git a/blocks/notify/slack/deployment/action.yaml b/blocks/notify/slack/deployment/action.yaml index be3f5a08..3ff91d00 100644 --- a/blocks/notify/slack/deployment/action.yaml +++ b/blocks/notify/slack/deployment/action.yaml @@ -34,16 +34,16 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: job-status name: Merge job statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.job-status }} - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: DOCKER_IMAGES: ${{ inputs.docker-images }} SEARCH_TAGS: ${{ inputs.search-tags }} @@ -55,7 +55,7 @@ runs: - name: Notify on deployment success if: steps.job-status.outputs.status == 'success' - uses: milaboratory/github-ci/actions/notify/slack/deployment-success@v4 + uses: milaboratory/github-ci/actions/notify/slack/deployment-success@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} @@ -68,7 +68,7 @@ runs: - name: Notify on deployment failure if: steps.job-status.outputs.status == 'failure' - uses: milaboratory/github-ci/actions/notify/slack/deployment-failed@v4 + uses: milaboratory/github-ci/actions/notify/slack/deployment-failed@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} @@ -81,7 +81,7 @@ runs: - name: Notify on deployment cancellation if: steps.job-status.outputs.status == 'cancelled' - uses: milaboratory/github-ci/actions/notify/slack/deployment-cancelled@v4 + uses: milaboratory/github-ci/actions/notify/slack/deployment-cancelled@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} diff --git a/blocks/notify/slack/publish/action.yaml b/blocks/notify/slack/publish/action.yaml index 2a60a820..3bcd4207 100644 --- a/blocks/notify/slack/publish/action.yaml +++ b/blocks/notify/slack/publish/action.yaml @@ -46,9 +46,9 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/shell@v4 + - uses: milaboratory/github-ci/actions/shell@v4-beta id: category env: IS_RELEASE: ${{ steps.context.outputs.is-release }} @@ -61,7 +61,7 @@ runs: fi - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: SEARCH_TAGS: ${{ inputs.search-tags }} with: @@ -71,11 +71,11 @@ runs: - id: job-status name: Merge publish job statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.job-status }} - - uses: milaboratory/github-ci/actions/notify/slack/publish@v4 + - uses: milaboratory/github-ci/actions/notify/slack/publish@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} diff --git a/blocks/notify/slack/release/action.yaml b/blocks/notify/slack/release/action.yaml index 8ee60b87..31310477 100644 --- a/blocks/notify/slack/release/action.yaml +++ b/blocks/notify/slack/release/action.yaml @@ -54,10 +54,10 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: define-version - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_VERSION: ${{ inputs.override-version }} CURRENT_VERSION: ${{ steps.context.outputs.current-version }} @@ -70,7 +70,7 @@ runs: fi - id: define-tag - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_TAG: ${{ inputs.override-tag }} CURRENT_TAG: ${{ steps.context.outputs.current-version-tag }} @@ -84,12 +84,12 @@ runs: - id: job-status name: Merge job statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.job-status }} - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: MAVEN_PACKAGES: ${{ inputs.maven-packages }} DOCKER_IMAGES: ${{ inputs.docker-images }} @@ -105,7 +105,7 @@ runs: - name: Notify on release success if: steps.job-status.outputs.status == 'success' - uses: milaboratory/github-ci/actions/notify/slack/release-ready@v4 + uses: milaboratory/github-ci/actions/notify/slack/release-ready@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} @@ -120,7 +120,7 @@ runs: - name: Notify on release failure if: steps.job-status.outputs.status == 'failure' - uses: milaboratory/github-ci/actions/notify/slack/release-failed@v4 + uses: milaboratory/github-ci/actions/notify/slack/release-failed@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} diff --git a/blocks/notify/slack/review-required/action.yaml b/blocks/notify/slack/review-required/action.yaml index 5585dc42..46b971a4 100644 --- a/blocks/notify/slack/review-required/action.yaml +++ b/blocks/notify/slack/review-required/action.yaml @@ -29,9 +29,9 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - - uses: milaboratory/github-ci/actions/notify/slack/review-required@v4 + - uses: milaboratory/github-ci/actions/notify/slack/review-required@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} diff --git a/blocks/notify/slack/test-regression/action.yaml b/blocks/notify/slack/test-regression/action.yaml index aabdae27..eba047f1 100644 --- a/blocks/notify/slack/test-regression/action.yaml +++ b/blocks/notify/slack/test-regression/action.yaml @@ -41,10 +41,10 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: define-version - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_VERSION: ${{ inputs.override-version }} CURRENT_VERSION: ${{ steps.context.outputs.current-version }} @@ -57,7 +57,7 @@ runs: fi - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: SEARCH_TAGS: ${{ inputs.search-tags }} with: @@ -65,7 +65,7 @@ runs: run: | ghwa_set_output "search-tags" "${SEARCH_TAGS:-[]}" - - uses: milaboratory/github-ci/actions/notify/slack/test-regression@v4 + - uses: milaboratory/github-ci/actions/notify/slack/test-regression@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} diff --git a/blocks/notify/slack/tests/action.yaml b/blocks/notify/slack/tests/action.yaml index 3b6895d8..80382a59 100644 --- a/blocks/notify/slack/tests/action.yaml +++ b/blocks/notify/slack/tests/action.yaml @@ -51,10 +51,10 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: define-version - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_VERSION: ${{ inputs.override-version }} CURRENT_VERSION: ${{ steps.context.outputs.current-version }} @@ -68,12 +68,12 @@ runs: - id: tests-status name: Merge test statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.tests-status }} - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: SEARCH_TAGS: ${{ inputs.search-tags }} with: @@ -87,7 +87,7 @@ runs: && inputs.notification-mode == 'failure-only' ) && !( steps.tests-status.outputs.status != 'success' && inputs.notification-mode == 'success-only' ) - uses: milaboratory/github-ci/actions/notify/slack/tests@v4 + uses: milaboratory/github-ci/actions/notify/slack/tests@v4-beta with: slack-bot-token: ${{ inputs.slack-bot-token }} slack-channel: ${{ inputs.slack-channel }} diff --git a/blocks/notify/test-regression/action.yaml b/blocks/notify/test-regression/action.yaml index ddc289d9..9b6676cf 100644 --- a/blocks/notify/test-regression/action.yaml +++ b/blocks/notify/test-regression/action.yaml @@ -56,10 +56,10 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: define-version - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_VERSION: ${{ inputs.override-version }} CURRENT_VERSION: ${{ steps.context.outputs.current-version }} @@ -72,7 +72,7 @@ runs: fi - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: SEARCH_TAGS: ${{ inputs.search-tags }} with: @@ -80,7 +80,7 @@ runs: run: | ghwa_set_output "search-tags" "${SEARCH_TAGS:-[]}" - - uses: milaboratory/github-ci/actions/notify/telegram/test-regression@v4 + - uses: milaboratory/github-ci/actions/notify/telegram/test-regression@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} diff --git a/blocks/notify/tests/action.yaml b/blocks/notify/tests/action.yaml index 42af8a92..00c2b249 100644 --- a/blocks/notify/tests/action.yaml +++ b/blocks/notify/tests/action.yaml @@ -79,10 +79,10 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - id: define-version - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_VERSION: ${{ inputs.override-version }} CURRENT_VERSION: ${{ steps.context.outputs.current-version }} @@ -96,12 +96,12 @@ runs: - id: tests-status name: Merge test statuses - uses: milaboratory/github-ci/actions/helpers/merge-status@v4 + uses: milaboratory/github-ci/actions/helpers/merge-status@v4-beta with: statuses: ${{ inputs.tests-status }} - id: json - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: SEARCH_TAGS: ${{ inputs.search-tags }} with: @@ -116,7 +116,7 @@ runs: && !( steps.tests-status.outputs.status != 'success' && inputs.notification-mode == 'success-only' ) - uses: milaboratory/github-ci/actions/notify/telegram/tests@v4 + uses: milaboratory/github-ci/actions/notify/telegram/tests@v4-beta with: telegram-target: ${{ inputs.telegram-target }} telegram-token: ${{ inputs.telegram-token }} diff --git a/blocks/pl/linux/test-pl-docker-pnpm/action.yaml b/blocks/pl/linux/test-pl-docker-pnpm/action.yaml index 013eb4fb..ce69b960 100644 --- a/blocks/pl/linux/test-pl-docker-pnpm/action.yaml +++ b/blocks/pl/linux/test-pl-docker-pnpm/action.yaml @@ -127,7 +127,7 @@ runs: steps: - name: Prepare environment for building a NodeJS application - uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4 + uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta with: node-version: ${{ inputs.node-version }} cache-version: ${{ inputs.cache-version }} @@ -136,14 +136,14 @@ runs: npmrc-config: ${{ inputs.npmrc-config }} - name: Install NodeJS packages with pnpm - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | pnpm install --frozen-lockfile --prefer-offline - name: Run turbo tests dry-run if: inputs.test-skip-dry-run != 'true' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | pnpx turbo run test --dry-run=json --cache=remote:rw > ./test-dry-run.json @@ -157,7 +157,7 @@ runs: exit 0 fi - - uses: milaboratory/github-ci/actions/docker/pl-compose@v4 + - uses: milaboratory/github-ci/actions/docker/pl-compose@v4-beta name: Launch Platforma docker container id: pl-compose if: inputs.pl-start-service != 'false' && (env.SKIP_TESTS != 'true' || inputs.test-skip-dry-run == 'true') @@ -169,7 +169,7 @@ runs: - name: Run test - ${{ inputs.test-script-name}} if: env.SKIP_TESTS != 'true' || inputs.test-skip-dry-run == 'true' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: PNPM_R: ${{ inputs.pnpm-recursive-tests }} PNPM_ARGS: ${{ inputs.pnpm-tests-args }} @@ -190,7 +190,7 @@ runs: - name: Restore assets ownership if: always() && inputs.pl-start-service != 'false' && (env.SKIP_TESTS != 'true' || inputs.test-skip-dry-run == 'true') - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: PL_ASSETS_DIR: ${{ format('{0}/{1}', github.workspace, inputs.pl-test-assets-dir) }} with: diff --git a/blocks/release/registry-bin/action.yaml b/blocks/release/registry-bin/action.yaml index 2f5d86ed..f65b984a 100644 --- a/blocks/release/registry-bin/action.yaml +++ b/blocks/release/registry-bin/action.yaml @@ -112,7 +112,7 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -121,7 +121,7 @@ runs: aws-region: ${{ inputs.s3-region }} - id: artifact-path - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: echo './release-artifact' @@ -132,14 +132,14 @@ runs: path: ${{ steps.artifact-path.outputs.stdout }} - name: Add version - uses: milaboratory/github-ci/actions/files/add-suffix@v4 + uses: milaboratory/github-ci/actions/files/add-suffix@v4-beta with: paths: ${{ steps.artifact-path.outputs.stdout }} suffix: '-${{ steps.context.outputs.current-version }}' - name: Search for the package.yaml inside github workspace id: pkg-yaml-status - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: PKG_YAML_SEARCH_PATH: ${{ format('{0}/{1}', github.workspace, 'package.yaml') }} with: @@ -154,13 +154,13 @@ runs: - name: Patch package version if: fromJSON(steps.pkg-yaml-status.outputs.data).exist != '0' - uses: milaboratory/github-ci/actions/yaml/patch-version@v4 + uses: milaboratory/github-ci/actions/yaml/patch-version@v4-beta with: version: ${{ steps.context.outputs.current-version }} - name: Re-pack artifact as tgz archive id: repack - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: ARTIFACT_PATH: ${{ steps.artifact-path.outputs.stdout }} ARCHIVE_PATH: ${{ format('{0}/result-archive', github.workspace) }} @@ -194,7 +194,7 @@ runs: ghwa_set_output archive-path "${ARCHIVE_PATH}" - name: Create sig file for re-packed archive - uses: milaboratory/github-ci/actions/gcloud-kms-sign@v4 + uses: milaboratory/github-ci/actions/gcloud-kms-sign@v4-beta with: file-path: ${{ fromJSON(steps.repack.outputs.data).archive-full-path }} gcloud-kms-workload-identity-provider: ${{ inputs.gcloud-kms-workload-identity-provider }} @@ -207,7 +207,7 @@ runs: gcloud-kms-key-name: ${{ inputs.gcloud-kms-key-name }} - name: Upload files - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | aws s3 cp --recursive \ @@ -215,7 +215,7 @@ runs: s3://${{ inputs.s3-bucket }}/${{ inputs.s3-path }} - id: uploaded-list - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: ARTIFACT_PATH: ${{ fromJSON(steps.repack.outputs.data).archive-path }} S3_PATH: ${{ inputs.s3-path }} @@ -231,6 +231,6 @@ runs: done - id: uploaded-json - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: ${{ steps.uploaded-list.outputs.stdout }} diff --git a/blocks/release/s3/action.yaml b/blocks/release/s3/action.yaml index ea19b66e..e7b504c7 100644 --- a/blocks/release/s3/action.yaml +++ b/blocks/release/s3/action.yaml @@ -191,7 +191,7 @@ runs: steps: - id: context - uses: milaboratory/github-ci/actions/context@v4 + uses: milaboratory/github-ci/actions/context@v4-beta - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -200,7 +200,7 @@ runs: aws-region: ${{ inputs.s3-region }} - id: artifact-path - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_ARTIFACT_DOWNLOAD_PATH: ${{ inputs.artifact-override-download-path }} with: @@ -219,7 +219,7 @@ runs: - name: Add version if: inputs.add-version == 'true' - uses: milaboratory/github-ci/actions/files/add-suffix@v4 + uses: milaboratory/github-ci/actions/files/add-suffix@v4-beta with: paths: ${{ steps.artifact-path.outputs.stdout }} suffix: '-${{ steps.context.outputs.current-version }}' @@ -227,7 +227,7 @@ runs: - name: Get SHA suffix id: sha if: inputs.add-sha != 'false' && inputs.add-sha != '' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: ADD_SHA: ${{ inputs.add-sha }} with: @@ -243,14 +243,14 @@ runs: - name: Add SHA if: steps.sha.outputs.stdout != '' - uses: milaboratory/github-ci/actions/files/add-suffix@v4 + uses: milaboratory/github-ci/actions/files/add-suffix@v4-beta with: paths: ${{ steps.artifact-path.outputs.stdout }} suffix: '-${{ steps.sha.outputs.stdout }}' - name: Add Github Run ID if: inputs.add-github-run-id == 'true' && inputs.add-github-run-id != '' - uses: milaboratory/github-ci/actions/files/add-suffix@v4 + uses: milaboratory/github-ci/actions/files/add-suffix@v4-beta with: paths: ${{ steps.artifact-path.outputs.stdout }} suffix: '-${{ github.run_id }}' @@ -258,7 +258,7 @@ runs: - name: Get OS NAME id: os_name if: inputs.add-os-name != '' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OS_NAME: ${{ inputs.add-os-name }} with: @@ -273,14 +273,14 @@ runs: - name: Add OS NAME if: inputs.add-os-name != '' - uses: milaboratory/github-ci/actions/files/add-suffix@v4 + uses: milaboratory/github-ci/actions/files/add-suffix@v4-beta with: paths: ${{ steps.artifact-path.outputs.stdout }} suffix: '-${{ steps.os_name.outputs.stdout }}' - name: Get ARCH id: os_arch - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_ARCH: ${{ inputs.artifact-override-os-arch }} UPLOAD_TO_REGISTRY: ${{ inputs.upload-to-registry }} @@ -315,13 +315,13 @@ runs: - name: Add ARCH if: inputs.add-os-arch == 'true' && inputs.add-os-arch != '' - uses: milaboratory/github-ci/actions/files/add-suffix@v4 + uses: milaboratory/github-ci/actions/files/add-suffix@v4-beta with: paths: ${{ steps.artifact-path.outputs.stdout }} suffix: '-${{ steps.os_arch.outputs.stdout }}' - name: Upload files - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | aws s3 cp --recursive \ @@ -329,7 +329,7 @@ runs: s3://${{ inputs.s3-bucket }}/${{ inputs.s3-path }} - id: files-list - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: ARTIFACT_PATH: ${{ steps.artifact-path.outputs.stdout }} S3_PATH: ${{ inputs.s3-path }} @@ -373,7 +373,7 @@ runs: ghwa_set_output array_paths "${array_paths}" - id: uploaded-list - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: UPLOADED_FILES: ${{ fromJSON(steps.files-list.outputs.data).array_paths }} with: @@ -381,12 +381,12 @@ runs: echo "${UPLOADED_FILES}" - id: uploaded-json - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: ${{ fromJSON(steps.files-list.outputs.data).array_paths }} - id: download-list - uses: milaboratory/github-ci/actions/strings/replace@v4 + uses: milaboratory/github-ci/actions/strings/replace@v4-beta with: input: ${{ fromJSON(steps.files-list.outputs.data).array_paths }} @@ -401,12 +401,12 @@ runs: ^/ -> https://${{ inputs.s3-bucket }}.s3.${{ inputs.s3-region }}.amazonaws.com/ - id: download-json - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: ${{ steps.download-list.outputs.result }} - id: artifacts-list - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: JSON_ARRAY: ${{ fromJSON(steps.files-list.outputs.data).json_array_infos }} with: diff --git a/blocks/signing-tools/macos-notarize/action.yaml b/blocks/signing-tools/macos-notarize/action.yaml index 80474b67..a91fdea6 100644 --- a/blocks/signing-tools/macos-notarize/action.yaml +++ b/blocks/signing-tools/macos-notarize/action.yaml @@ -35,7 +35,7 @@ runs: using: "composite" steps: - - uses: milaboratory/github-ci/actions/files/list@v4 + - uses: milaboratory/github-ci/actions/files/list@v4-beta id: artifacts-list with: patterns: ${{ inputs.paths }} diff --git a/blocks/signing-tools/macos-sign/action.yaml b/blocks/signing-tools/macos-sign/action.yaml index 9c349c16..ef5388fd 100644 --- a/blocks/signing-tools/macos-sign/action.yaml +++ b/blocks/signing-tools/macos-sign/action.yaml @@ -39,7 +39,7 @@ runs: using: "composite" steps: - - uses: milaboratory/github-ci/actions/files/list@v4 + - uses: milaboratory/github-ci/actions/files/list@v4-beta id: binaries-list with: patterns: ${{ inputs.binaries }} diff --git a/blocks/signing-tools/windows-sign/action.yaml b/blocks/signing-tools/windows-sign/action.yaml index a6733317..79ae660a 100644 --- a/blocks/signing-tools/windows-sign/action.yaml +++ b/blocks/signing-tools/windows-sign/action.yaml @@ -87,7 +87,7 @@ runs: using: "composite" steps: - - uses: milaboratory/github-ci/actions/files/list@v4 + - uses: milaboratory/github-ci/actions/files/list@v4-beta id: binaries-list with: patterns: ${{ inputs.binaries }} diff --git a/blocks/update-cdn-link/action.yaml b/blocks/update-cdn-link/action.yaml index eb4a078d..3cddd2c8 100644 --- a/blocks/update-cdn-link/action.yaml +++ b/blocks/update-cdn-link/action.yaml @@ -65,7 +65,7 @@ runs: aws-region: ${{ inputs.s3-region }} - name: Update website-redirect-location metadata in the file - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: S3_BUCKET: ${{ inputs.s3-bucket }} S3_KEY: ${{ inputs.s3-bucket-path }}/${{ inputs.s3-bucket-key }} diff --git a/blocks/update-s3-latest/action.yaml b/blocks/update-s3-latest/action.yaml index b6b6d4bd..a8b66547 100644 --- a/blocks/update-s3-latest/action.yaml +++ b/blocks/update-s3-latest/action.yaml @@ -152,7 +152,7 @@ runs: aws-region: ${{ inputs.s3-region }} - id: artifact-path - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: echo './release-artifact' @@ -164,7 +164,7 @@ runs: - name: Add branch name if: inputs.add-branch-name == 'true' && inputs.branch-name != '' - uses: milaboratory/github-ci/actions/files/add-suffix@v4 + uses: milaboratory/github-ci/actions/files/add-suffix@v4-beta with: paths: ${{ steps.artifact-path.outputs.stdout }} suffix: '-${{ inputs.branch-name }}' @@ -172,7 +172,7 @@ runs: - name: Get SHA suffix id: sha if: inputs.add-sha != 'false' && inputs.add-sha != '' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: ADD_SHA: ${{ inputs.add-sha }} with: @@ -188,7 +188,7 @@ runs: - name: Add SHA if: steps.sha.outputs.stdout != '' - uses: milaboratory/github-ci/actions/files/add-suffix@v4 + uses: milaboratory/github-ci/actions/files/add-suffix@v4-beta with: paths: ${{ steps.artifact-path.outputs.stdout }} suffix: '-${{ steps.sha.outputs.stdout }}' @@ -196,7 +196,7 @@ runs: - name: Get ARCH id: os_arch if: inputs.add-os-arch == 'true' - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: OVERRIDE_ARCH: ${{ inputs.artifact-override-os-arch }} with: @@ -218,13 +218,13 @@ runs: - name: Add ARCH if: steps.os_arch.outputs.stdout != '' - uses: milaboratory/github-ci/actions/files/add-suffix@v4 + uses: milaboratory/github-ci/actions/files/add-suffix@v4-beta with: paths: ${{ steps.artifact-path.outputs.stdout }} suffix: '-${{ steps.os_arch.outputs.stdout }}' - name: Upload files - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta with: run: | aws s3 cp --recursive \ @@ -232,7 +232,7 @@ runs: s3://${{ inputs.s3-bucket }}/${{ inputs.s3-path }} - id: uploaded-list - uses: milaboratory/github-ci/actions/shell@v4 + uses: milaboratory/github-ci/actions/shell@v4-beta env: ARTIFACT_PATH: ${{ steps.artifact-path.outputs.stdout }} S3_PATH: ${{ inputs.s3-path }} @@ -248,12 +248,12 @@ runs: done - id: uploaded-json - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: ${{ steps.uploaded-list.outputs.stdout }} - id: download-list - uses: milaboratory/github-ci/actions/strings/replace@v4 + uses: milaboratory/github-ci/actions/strings/replace@v4-beta with: input: ${{ steps.uploaded-list.outputs.stdout }} @@ -268,6 +268,6 @@ runs: ^/ -> https://${{ inputs.s3-bucket }}.s3.${{ inputs.s3-region }}.amazonaws.com/ - id: download-json - uses: milaboratory/github-ci/actions/strings/json-list@v4 + uses: milaboratory/github-ci/actions/strings/json-list@v4-beta with: input: ${{ steps.download-list.outputs.result }}