Skip to content

Commit

Permalink
Merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
kflansburg committed Mar 11, 2024
2 parents 65454ee + 7ed61c0 commit 343bddc
Show file tree
Hide file tree
Showing 64 changed files with 6,354 additions and 4,713 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Open a release PR
on:
workflow_dispatch:
inputs:
level:
description: Version bump level
required: true
type: choice
options:
- patch
jobs:
make-release-pr:
permissions:
id-token: write # Enable OIDC
pull-requests: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chainguard-dev/actions/setup-gitsign@main
- name: Install cargo-release
uses: taiki-e/install-action@v1
with:
tool: cargo-release
- name: Update versions
id: update_versions
run: |
cargo release version ${{ inputs.level }} --execute --no-confirm
cargo update
NEW_VERSION=$(cargo metadata --no-deps --format-version 1 | jq -rc '.packages[] | select(.name=="worker") | .version')
echo "version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: "chore: bump versions"
branch: releases/v${{ steps.update_versions.outputs.version }}
base: main
title: Release v${{ steps.update_versions.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,7 @@ dist
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.pnp.*

# RustRover
.idea
Loading

0 comments on commit 343bddc

Please sign in to comment.