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)
This commit is contained in:
YeonGyu-Kim
2025-12-22 01:27:46 +09:00
parent 4df85045bd
commit 06db8c6c16

View File

@@ -2,7 +2,7 @@ name: CI
on:
push:
branches: [master]
branches: [master, dev]
pull_request:
branches: [master]
@@ -88,7 +88,7 @@ jobs:
draft-release:
runs-on: ubuntu-latest
needs: [build]
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/dev'
permissions:
contents: write
steps: