使用不透明的颜色来表示高亮,将叠加高亮的颜色统一 #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make sure new PRs are sent to dev | |
on: | |
pull_request_target: | |
types: [opened, edited] | |
jobs: | |
check-branch: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Vankka/pr-target-branch-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
target: master | |
exclude: dev | |
change-to: dev | |
comment: | | |
Your PR was set to target `master`, PRs should be target `dev` | |
The base branch of this PR has been automatically changed to `dev`, please check that there are no merge conflicts |