Skip to content

Exclude MBCS_Tests_formatter_zh_TW_linux and MBCS_Tests_i18n_ko_KR_linux for all Linux #2187

Exclude MBCS_Tests_formatter_zh_TW_linux and MBCS_Tests_i18n_ko_KR_linux for all Linux

Exclude MBCS_Tests_formatter_zh_TW_linux and MBCS_Tests_i18n_ko_KR_linux for all Linux #2187

name: "Remove autoTestPR branch"
on:
pull_request:
types: [closed]
jobs:
rmAutoTestPRBranch:
runs-on: ubuntu-latest
if: startsWith(github.event.pull_request.title, 'auto exclude test') && startsWith(github.event.pull_request.head.ref, 'autoTestPR') && (github.event.pull_request.user.login == 'github-actions[bot]')
steps:
- name: remove auto test PR branch when the PR is closed
run: |
curl -u github-actions:${{ secrets.GITHUB_TOKEN }} -X DELETE ${{ github.event.pull_request.head.repo.url }}/git/refs/heads/${{ github.event.pull_request.head.ref }}