Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .github/workflows/fast-forward.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Release (Beta)

on:
pull_request_review:
types:
- submitted
push:
branches:
- develop
Expand All @@ -10,6 +13,35 @@ permissions:
contents: read

jobs:
approved:
if: |
github.event.pull_request.head.ref == 'develop' &&
github.event.pull_request.base.ref == 'main' &&
github.event.review.state == 'approved'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- run: |
git checkout main
git merge --ff-only "${{ github.event.pull_request.head.sha }}"
git push origin main

deploy:
needs:
- approved
permissions:
contents: write
packages: write
# Required for npm OIDC
id-token: write
# Call workflow explicitly because events from actions cannot trigger more actions
uses: ./.github/workflows/release.yml
secrets: inherit

release:
name: semantic-release
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/types.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading