Skip to content

chore(deps): bump github.com/aws/aws-lambda-go from 1.41.0 to 1.43.0 … #15

chore(deps): bump github.com/aws/aws-lambda-go from 1.41.0 to 1.43.0 …

chore(deps): bump github.com/aws/aws-lambda-go from 1.41.0 to 1.43.0 … #15

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
GIT_USER_EMAIL: ${{ secrets.GIT_EMAIL }}
GIT_USER_NAME: ${{ secrets.GIT_NAME }}
GOPRIVATE: github.com/Drafteame
permissions:
contents: write
jobs:
bump_version:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
name: "Bump version"
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
token: "${{ secrets.ACCESS_TOKEN }}"
ref: "main"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Config Git User
run: |
git config --local user.email "$GIT_USER_EMAIL"
git config --local user.name "$GIT_USER_NAME"
git config --local pull.ff only
- id: cz
name: Create bump and changelog
run: |
python -m pip install -U commitizen
cz bump --changelog --yes
export REV=`cz version --project`
echo "version=$REV" >> $GITHUB_OUTPUT
- name: Push changes
uses: Woile/github-push-action@master
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
tags: "true"
branch: "main"
- name: Print Version
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"
release:
runs-on: ubuntu-latest
name: "Release service"
needs:
- bump_version
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
token: "${{ secrets.ACCESS_TOKEN }}"
ref: "main"
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.20.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}