(v1.0.5) Exclude TestCipherMode for OpenJ9 jdk17, 21 (#5799) #2309
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 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 }} |