fix: 测试从fork来的PR是否能正常通过CI #868
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: Remove PR artifacts | |
on: | |
pull_request: | |
branches: [master] | |
types: [closed] | |
jobs: | |
delete-openscow-vagrant: | |
name: Delete openscow-vagrant PR branch | |
runs-on: ubuntu-latest | |
steps: | |
- name: Delete openscow-vagrant PR branch | |
uses: dawidd6/action-delete-branch@v3 | |
with: | |
github_token: ${{ secrets.SCOW_DEPLOYMENT_PAT }} | |
owner: PKUHPC | |
repository: scow-vagrant | |
branches: ${{ github.event.number }}/merge | |
soft_fail: true |