Skip to content

Commit 06db8c6

Browse files
committed
ci: trigger CI on both master and dev branches, update draft-release to run on dev only
Fix draft release workflow so 'Upcoming Changes' draft release is updated on dev push, not master. Previously it was only updated on master push which caused the draft release to show stale/empty content after publish. 🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
1 parent 4df8504 commit 06db8c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [master, dev]
66
pull_request:
77
branches: [master]
88

@@ -88,7 +88,7 @@ jobs:
8888
draft-release:
8989
runs-on: ubuntu-latest
9090
needs: [build]
91-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
91+
if: github.event_name == 'push' && github.ref == 'refs/heads/dev'
9292
permissions:
9393
contents: write
9494
steps:

0 commit comments

Comments
 (0)