fix: 去掉了多出的cd命令 #141
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
# 自动关闭不规范PR | ||
name: AutoSetPR | ||
on: | ||
pull_request_target: | ||
types: [opened, edited] | ||
jobs: | ||
checkTargetBranch: | ||
runs-on: ubuntu-latest | ||
needs: Autoclose | ||
steps: | ||
- uses: Vankka/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
target: main | ||
change-to: 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. |