Skip to content
Merged
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
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Publish to main

on:
push:
pull_request:
types: [closed]
branches:
- dev

jobs:
publish:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout dev
Expand All @@ -32,6 +34,6 @@ jobs:
if git diff --cached --quiet; then
echo "No changes to publish."
else
git commit -m "chore: publish from dev @ $(git rev-parse --short dev)"
git commit -m "${{ github.event.pull_request.title }}"
git push origin main
fi
Loading