Skip to content

App Submitted - swt-detection.v2.1 #72

App Submitted - swt-detection.v2.1

App Submitted - swt-detection.v2.1 #72

Workflow file for this run

name: "🪧 Branch Pruner"
on:
pull_request_target:
types:
- closed
jobs:
prune-branch:
name: "🍂 Delete registration branch after PR is done"
if: startsWith( github.head_ref, 'register/' )
runs-on: ubuntu-latest
steps:
- name: "🚫 Delete branch"
uses: octokit/[email protected]
with:
route: DELETE /repos/${{ github.repository }}/git/refs/heads/${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GH_CLAMSBOT_TOKEN }}