fix(ai): 区分SCOW和SCOW AI使用的有关适配器请求的公共逻辑函数 #811
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-scow-vagrant: | |
name: Delete scow-vagrant PR branch | |
if: vars.PUSH_VAGRANT == 'true' | |
runs-on: ${{ vars.ACTION_RUNNER_LABEL }} | |
steps: | |
- name: Delete scow-vagrant PR branch | |
uses: dawidd6/action-delete-branch@v3 | |
with: | |
github_token: ${{ secrets.SCOW_DEPLOYMENT_PAT }} | |
owner: ${{ vars.VAGRANT_REPO_OWNER }} | |
repository: ${{ vars.VAGRANT_REPO_NAME }} | |
branches: ${{ github.event.number }}/merge | |
soft_fail: true |