Skip to content

fix: 去掉了多出的cd命令 #141

fix: 去掉了多出的cd命令

fix: 去掉了多出的cd命令 #141

Workflow file for this run

# 自动关闭不规范PR
name: AutoSetPR
on:
pull_request_target:
types: [opened, edited]
jobs:
checkTargetBranch:

Check failure on line 8 in .github/workflows/auto-close-pr.yml

View workflow run for this annotation

GitHub Actions / AutoSetPR

Invalid workflow file

The workflow is not valid. .github/workflows/auto-close-pr.yml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
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.