feat: Adding new repo for terraform module. #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Tag release | |
on: | |
push: | |
branches: | |
- '!**' | |
- 'main' | |
jobs: | |
tag-release: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: write | |
packages: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Check for conventional commits | |
uses: cocogitto/cocogitto-action@v3.8 | |
- name: Get next version | |
id: next_version | |
run: | | |
echo NEXT_VERSION=`cog bump --auto --dry-run` >> "$GITHUB_ENV" | |
- name: Cocogitto tag | |
id: tag | |
uses: cocogitto/cocogitto-action@v3 | |
with: | |
check-latest-tag-only: false | |
release: true | |
git-user: 'GitHubActions' | |
git-user-email: 'github@lazzurs.org' |