mirror of
https://github.com/terraform-aws-modules/terraform-aws-rds-proxy.git
synced 2025-12-16 16:01:11 +00:00
39 lines
875 B
YAML
39 lines
875 B
YAML
name: release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**.tf'
|
|
- '**.tmpl'
|
|
- '!examples/**.tf'
|
|
- '.github/workflows/semantic-releaser.yml'
|
|
|
|
jobs:
|
|
release:
|
|
name: release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16
|
|
|
|
- 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
|
|
conventional-changelog-conventionalcommits@4.6.3
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE }}
|