add trigger only run when pr exists

This commit is contained in:
Jeremy Wu 2025-06-02 11:52:12 +00:00
parent f72eae2220
commit a9a212e4de

View file

@ -1,11 +1,15 @@
name: Update release PR
on:
push:
pull_request:
types: [opened, reopened, synchronize]
branches:
- master
workflow_dispatch:
jobs:
update-pr:
if: github.head_ref == 'dev'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4