pre-commit-opentofu/.github/workflows/release.yml
2022-01-06 12:25:32 +01:00

34 lines
736 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@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Release
uses: cycjimmy/semantic-release-action@v2
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 }}