Remove one-time cleanup workflow
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
name: Cleanup release branch
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'master'
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
cleanup:
|
|
||||||
if: ${{ github.event.head_commit.message == 'cleanup release branch' }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Delete test release branch
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ github.token }}
|
|
||||||
run: gh api -X DELETE "repos/${GITHUB_REPOSITORY}/git/refs/heads/test%2Frelease-v1.0.0"
|
|
||||||
Reference in New Issue
Block a user