Merge pull request #51 from birdiecare/renovate/github.com-aws-aws-sd… #35
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' | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '.gitignore' | |
- '.go.mod' | |
- 'renovate.json' | |
- '.github/workflows/**' | |
env: | |
# AWS | |
AWS_DEFAULT_REGION: eu-west-2 | |
AWS_REGION: eu-west-2 | |
jobs: | |
tag: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v3.4.2 | |
id: release | |
with: | |
semantic_version: 18 | |
branch: main | |
working_directory: ./ | |
extra_plugins: | | |
@semantic-release/commit-analyzer | |
@semantic-release/release-notes-generator | |
@semantic-release/github | |
@semantic-release/changelog | |
@google/semantic-release-replace-plugin | |
@semantic-release/git | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Bump version and push tag | |
if: steps.release.outcome == 'success' | |
id: tag_version | |
uses: mathieudutour/github-tag-action@v6.1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |