Skip to content

chore: auto-update of pre-commit hooks #83

chore: auto-update of pre-commit hooks

chore: auto-update of pre-commit hooks #83

Workflow file for this run

---
name: Tag
on:
push:
branches: [main, release-*]
jobs:
tag:
name: Tag release commit
if: "${{ startsWith(github.event.head_commit.message, 'release: ') }}"
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: stable
cache: true
- name: Configure git
env:
AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }}
AUTHOR_NAME: ${{ github.event.head_commit.author.name }}
run: |
git config --local user.email "${AUTHOR_EMAIL}"
git config --local user.name "${AUTHOR_NAME}"
- name: Tag commit
run: |
make build
build/linux/gotagger -push