summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/no-banned-git-tags.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/no-banned-git-tags.yml b/.github/workflows/no-banned-git-tags.yml
new file mode 100644
index 00000000..94ffbdd4
--- /dev/null
+++ b/.github/workflows/no-banned-git-tags.yml
@@ -0,0 +1,18 @@
+name: No banned git tags
+
+on:
+ push:
+ tags:
+ - hotfix
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Delete extra tag
+ run: hub push --delete origin hotfix
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}