mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 08:14:21 +01:00
22 lines
No EOL
651 B
YAML
22 lines
No EOL
651 B
YAML
name: Make sure new PRs are sent to dev
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, edited]
|
|
|
|
jobs:
|
|
check-branch:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
steps:
|
|
- uses: Vankka/pr-target-branch-action@v3
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
target: master
|
|
exclude: dev
|
|
change-to: dev
|
|
comment: |
|
|
The base branch of this PR has been automatically changed to `dev`, please check that there are no merge conflicts.
|
|
此 PR 的基础分支已自动更改为 `dev`,请检查是否存在合并冲突。 |