Skip to content

Commit

Permalink
chore(ci): on push to release, run semantic-release
Browse files Browse the repository at this point in the history
Automatically merge release commit back to main.

Delete sync_branches workflow which was erroneously merging
back to main from release before semantic-release was run.
  • Loading branch information
PaulHax committed Dec 17, 2024
1 parent ed1e971 commit b5aa743
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 26 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Create Release

on:
workflow_dispatch:
push:
branches:
- release

jobs:
release:
Expand Down Expand Up @@ -45,3 +48,11 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }}

- name: Merge release -> main
uses: devmasx/merge-branch@master
with:
type: now
target_branch: main
message: Merge release into main
github_token: ${{ secrets.GITHUB_TOKEN }}
26 changes: 0 additions & 26 deletions .github/workflows/sync_branches.yaml

This file was deleted.

0 comments on commit b5aa743

Please sign in to comment.