Skip to content

Commit e15dd9f

Browse files
authored
Merge branch 'spinframework:main' into spin-up-should-check-required-variables
2 parents f0658ce + d31c6bd commit e15dd9f

File tree

17 files changed

+222
-168
lines changed

17 files changed

+222
-168
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Bump Spin Rust Templates SDK Dependency
2+
3+
on:
4+
repository_dispatch:
5+
types:
6+
- rust-sdk-release
7+
8+
jobs:
9+
create-pr:
10+
name: Create PR with Spin Rust Templates SDK Dependency Bump
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Bump Rust Templates SDK Dependency
16+
shell: bash
17+
run: ./scripts/bump-rust-template-sdk.sh ${{ github.event.client_payload.version }}
18+
19+
- name: Import GPG key
20+
uses: crazy-max/ghaction-import-gpg@v6
21+
with:
22+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
23+
passphrase: ${{ secrets.PASSPHRASE }}
24+
git_user_signingkey: true
25+
git_commit_gpgsign: true
26+
27+
- name: Create Pull Request
28+
uses: peter-evans/create-pull-request@v7
29+
with:
30+
commit-message: "chore(rust-templates): bump Spin Rust SDK to ${{ github.event.client_payload.version }}"
31+
title: "chore(rust-templates): bump Spin Rust SDK to ${{ github.event.client_payload.version }}"
32+
body: Update the Spin Rust Templates SDK dependency to ${{ github.event.client_payload.version }}
33+
branch: bump-spin-rust-sdk-${{ github.event.client_payload.version }}
34+
base: main
35+
delete-branch: true
36+
committer: spinframeworkbot <[email protected]>
37+
author: spinframeworkbot <[email protected]>
38+
signoff: true
39+
token: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)