From 3cf9fe53bbd67370c30dab070b1ed9cab2d871ff Mon Sep 17 00:00:00 2001 From: Jan W Date: Thu, 25 Apr 2024 16:53:40 +0200 Subject: [PATCH 1/3] ci: signed commits --- .github/workflows/version.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index 124f68d3..42204cac 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -37,11 +37,21 @@ jobs: run: yarn install --immutable - name: Prepare run: yarn prepare + - name: Import GPG key + id: import-gpg + uses: crazy-max/ghaction-import-gpg@1a317071222a9bfb1839df1b58b1f0dcd893b589 + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.GPG_PASSPHRASE }} + git_config_global: true + git_user_signingkey: true + git_commit_gpgsign: true - name: Version uses: ExodusMovement/lerna-release-action/version@931392d04a637dccb561398add594a6cf61255b8 with: github-token: ${{ secrets.GH_AUTOMATION_PAT }} packages: ${{ inputs.packages }} assignee: ${{ inputs.assignee }} + committer: exodus-github-hydra-bot version-strategy: ${{ inputs.version-strategy }} auto-merge: true From c6cccad3a446e21b0f593e0c2df95f596c59fa10 Mon Sep 17 00:00:00 2001 From: Jan W Date: Thu, 25 Apr 2024 16:55:01 +0200 Subject: [PATCH 2/3] ci: use release environment --- .github/workflows/version.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index 42204cac..b9cb2f7d 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -26,6 +26,7 @@ on: jobs: version: runs-on: ubuntu-latest + environment: release steps: - uses: actions/checkout@v4 with: From de4dc933d343e2baf78e8338b9c87b3297877cec Mon Sep 17 00:00:00 2001 From: Jan W Date: Fri, 26 Apr 2024 08:37:05 +0200 Subject: [PATCH 3/3] chore: bump release action --- .github/workflows/version.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index b9cb2f7d..ca02eca3 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -48,7 +48,7 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true - name: Version - uses: ExodusMovement/lerna-release-action/version@931392d04a637dccb561398add594a6cf61255b8 + uses: ExodusMovement/lerna-release-action/version@c4c4b9d747ed0ef2750fa87b86eec3374c1b0e06 with: github-token: ${{ secrets.GH_AUTOMATION_PAT }} packages: ${{ inputs.packages }}