更新自动关闭PR工作流

This commit is contained in:
hect0x7 2024-01-11 00:32:33 +08:00
parent 7d8fb358b7
commit fc2f2a908d

View File

@ -1,7 +1,7 @@
name: Close Specific PR name: Close Specific PR
on: on:
pull_request: pull_request_target:
types: [opened, ] types: [opened, ]
# Note: If you use both the branches filter and the paths filter, the workflow will only run when both filters are satisfied. # Note: If you use both the branches filter and the paths filter, the workflow will only run when both filters are satisfied.
branches: branches:
@ -9,7 +9,7 @@ on:
paths: paths:
- 'usage/workflow_download.py' - 'usage/workflow_download.py'
jobs: jobs:
close_pr: close_specific_pr:
env: env:
comment: | comment: |
To prevent beginners from mistakenly submitting PRs, To prevent beginners from mistakenly submitting PRs,