Skip to content

Commit 343bddc

Browse files
committed
Merge main
2 parents 65454ee + 7ed61c0 commit 343bddc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+6354
-4713
lines changed
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Open a release PR
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
level:
6+
description: Version bump level
7+
required: true
8+
type: choice
9+
options:
10+
- patch
11+
jobs:
12+
make-release-pr:
13+
permissions:
14+
id-token: write # Enable OIDC
15+
pull-requests: write
16+
contents: write
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v3
20+
- uses: chainguard-dev/actions/setup-gitsign@main
21+
- name: Install cargo-release
22+
uses: taiki-e/install-action@v1
23+
with:
24+
tool: cargo-release
25+
- name: Update versions
26+
id: update_versions
27+
run: |
28+
cargo release version ${{ inputs.level }} --execute --no-confirm
29+
cargo update
30+
NEW_VERSION=$(cargo metadata --no-deps --format-version 1 | jq -rc '.packages[] | select(.name=="worker") | .version')
31+
echo "version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
32+
- name: Create Pull Request
33+
uses: peter-evans/create-pull-request@v6
34+
with:
35+
commit-message: "chore: bump versions"
36+
branch: releases/v${{ steps.update_versions.outputs.version }}
37+
base: main
38+
title: Release v${{ steps.update_versions.outputs.version }}
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,7 @@ dist
133133
.yarn/unplugged
134134
.yarn/build-state.yml
135135
.yarn/install-state.gz
136-
.pnp.*
136+
.pnp.*
137+
138+
# RustRover
139+
.idea

0 commit comments

Comments
 (0)