Skip to content

fix: semver release workflow #16

fix: semver release workflow

fix: semver release workflow #16

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Git Release
on:
workflow_dispatch:
inputs:
dry-run:
description: "Dry run"
required: false
default: false
type: boolean
pull_request:
paths:
- ".github/workflows/git-release.yaml"
- "cmd/**"
- "go.mod"
- "go.sum"
- "main.go"
push:
branches: ["main"]
paths:
- "cmd/**"
- "go.mod"
- "go.sum"
- "main.go"
jobs:
release:
uses: mirceanton/reusable-workflows/.github/workflows/git-release-semver.yaml@17d8ef4df857d93b905170956fbbcd56b296e8bb
secrets: inherit
with:
dry-run: ${{ inputs.dry-run || github.event_name == 'pull_request' }}