pull file
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
This commit is contained in:
19
.github/workflows/verify-pr.yml
vendored
Normal file
19
.github/workflows/verify-pr.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: VerifyPR
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
checkTargetBranch:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: Vankka/pr-target-branch-action@v3
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
target: main
|
||||
change-to: develop
|
||||
exclude: RayWangQvQ/BiliBiliToolPro:develop
|
||||
comment: |
|
||||
Your PR was set to `main`, but PRs should be sent to `develop`
|
||||
The base branch of this PR has been automatically changed to `develop`, please check that there are no merge conflicts.
|
||||
Reference in New Issue
Block a user