Skip to content

Commit 1aa797a

Browse files
authored
Merge pull request #3582 from itowlson/bump-wasmtime-workflow-fix-fix-fix
First crack at fixing the "bump Wasmtime" workflow
2 parents e892b82 + ca26e79 commit 1aa797a

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/bump-wasmtime.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,25 @@ jobs:
2929
sed -i -E "s/wasmtime-wasi-http = \{ version = \"[0-9]+[0-9.]*\"/wasmtime-wasi-http = \{ git = \"https:\/\/github.com\/bytecodealliance\/wasmtime\", branch = \"release-${{ steps.wasmtime-release.outputs.last_wasmtime }}\"/g" Cargo.toml
3030
cargo update
3131
32+
# Import GPG key for signing commits
33+
- name: Import GPG key
34+
uses: crazy-max/ghaction-import-gpg@v6
35+
with:
36+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
37+
passphrase: ${{ secrets.PASSPHRASE }}
38+
git_user_signingkey: true
39+
git_commit_gpgsign: true
40+
3241
- name: Create Spin PR
3342
uses: peter-evans/create-pull-request@v8
3443
with:
44+
token: ${{ secrets.SPIN_RUST_SDK_RELEASE_PAT }}
3545
branch: bump-wasmtime/prerelease-${{ steps.wasmtime-release.outputs.last_wasmtime }}
3646
commit-message: Bump Wasmtime to v${{ steps.wasmtime-release.outputs.last_wasmtime }} prerelease
3747
title: Bump Wasmtime to v${{ steps.wasmtime-release.outputs.last_wasmtime }} prerelease
3848
body: Bumps Wasmtime to v${{ steps.wasmtime-release.outputs.last_wasmtime }} prerelease
49+
committer: spinframeworkbot <202838904+spinframeworkbot@users.noreply.github.com>
50+
author: spinframeworkbot <202838904+spinframeworkbot@users.noreply.github.com>
3951
signoff: true
4052
draft: true
53+
delete-branch: true

0 commit comments

Comments
 (0)