mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
34 lines
830 B
YAML
34 lines
830 B
YAML
name: Release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- '**/*.py'
|
|
- '**/*.sh'
|
|
- 'Dockerfile'
|
|
- '.pre-commit-hooks.yaml'
|
|
# Ignore paths
|
|
- '!tests/**'
|
|
jobs:
|
|
release:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: 0
|
|
|
|
- name: Release
|
|
uses: cycjimmy/semantic-release-action@5982a02995853159735cb838992248c4f0f16166 # v2.7.0
|
|
with:
|
|
semantic_version: 18.0.0
|
|
extra_plugins: |
|
|
@semantic-release/changelog@6.0.0
|
|
@semantic-release/git@10.0.0
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
|