From 3602cc1c19e38f2ec05fd61e25d5524f49ab43a7 Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Sun, 27 Jul 2025 18:36:47 +0200 Subject: [PATCH] ci: set version number correctly when versioning --- .github/workflows/make-version.yml | 6 +++--- .github/workflows/publish_layer.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/make-version.yml b/.github/workflows/make-version.yml index e902a84f61..c78dd5f9d1 100644 --- a/.github/workflows/make-version.yml +++ b/.github/workflows/make-version.yml @@ -34,13 +34,13 @@ jobs: node-version: ${{ env.NODE_VERSION }} cache: "npm" - name: Setup dependencies - uses: aws-powertools/actions/.github/actions/cached-node-modules@7d2401cbbb232594bde7285bc5b8c0c78dcbe6e2 # v1.2.0 + uses: aws-powertools/actions/.github/actions/cached-node-modules@da5bcb1a3d22f87bc48b570c818d26f44c0fc960 # v1.3.0 with: node-version: ${{ env.NODE_VERSION }} build: "false" - name: Version and changelog id: version-n-changelog - uses: aws-powertools/actions/.github/actions/version-n-changelog@7d2401cbbb232594bde7285bc5b8c0c78dcbe6e2 # v1.2.0 + uses: aws-powertools/actions/.github/actions/version-n-changelog@da5bcb1a3d22f87bc48b570c818d26f44c0fc960 # v1.3.0 with: release-type: ${{ github.event.inputs.release-type }} - name: Update user agent version @@ -51,7 +51,7 @@ jobs: run: git add . - name: Create PR id: create-pr - uses: aws-powertools/actions/.github/actions/create-pr@7d2401cbbb232594bde7285bc5b8c0c78dcbe6e2 # v1.2.0 + uses: aws-powertools/actions/.github/actions/create-pr@da5bcb1a3d22f87bc48b570c818d26f44c0fc960 # v1.3.0 with: temp_branch_prefix: "ci-bump" pull_request_title: "chore(ci): bump version to ${{ steps.version-n-changelog.outputs.new-version }}" diff --git a/.github/workflows/publish_layer.yml b/.github/workflows/publish_layer.yml index cdddff55bd..7493abeecf 100644 --- a/.github/workflows/publish_layer.yml +++ b/.github/workflows/publish_layer.yml @@ -110,7 +110,7 @@ jobs: run: git add . - name: Create PR id: create-pr - uses: aws-powertools/actions/.github/actions/create-pr@5ae7c190d6b51491bb14f593c3509c1bcbf7a3c1 # v1.1.0 + uses: aws-powertools/actions/.github/actions/create-pr@da5bcb1a3d22f87bc48b570c818d26f44c0fc960 # v1.3.0 with: temp_branch_prefix: 'ci-layer-docs' pull_request_title: 'chore(ci): update layer ARN on documentation'