Merge pull request #44 from klutchell/remove-revbot

Remove revbot workflow action
This commit is contained in:
Kyle Harding
2022-01-14 09:27:08 -05:00
committed by GitHub
2 changed files with 3 additions and 27 deletions
+3 -1
View File
@@ -4,6 +4,8 @@ on:
push:
tags:
- "*"
branches:
- "main"
pull_request:
branches:
- "main"
@@ -34,7 +36,7 @@ jobs:
type=ref,event=branch
type=ref,event=pr
type=sha
type=match,pattern=(\d+.\d+.\d+)-\d+,group=1
type=semver,pattern={{version}}
- uses: docker/setup-buildx-action@v1
with:
-26
View File
@@ -1,26 +0,0 @@
name: revbot
on:
push:
branches:
- "main"
jobs:
revbot:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- id: revbot
run: echo "::set-output name=new_tag::$(head -n1 VERSION)-$(date +%Y%m%d)"
# REVBOT_TOKEN requires 'repo' access.
# Don't use GITHUB_TOKEN if you want this commit to trigger other workflows.
- uses: richardsimko/update-tag@v1
with:
tag_name: ${{ steps.revbot.outputs.new_tag }}
env:
GITHUB_TOKEN: ${{ secrets.REVBOT_TOKEN }}