Skip to content

Update pre-commit hooks #31

Update pre-commit hooks

Update pre-commit hooks #31

Workflow file for this run

name: tag_bump
on:
push:
branches:
- "main"
permissions:
contents: write
packages: write
deployments: write
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out code
with:
fetch-depth: '0'
# Verify only golang or Docker files have changed before we bump
- name: Get changed files
id: changed_files
uses: tj-actions/changed-files@v45
with:
files_yaml: |
golang:
- '**/*.go'
- 'go.*'
- '.goreleaser.yml'
docker:
- 'Dockerfile'
- 'goreleaser.Dockerfile'
- name: Bump version and push tag
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: main
default_bump: patch
custom_release_rules: "bug:patch:Bug Fixes"