Skip to content

Bump google.golang.org/api from 0.253.0 to 0.254.0 (#134) #18

Bump google.golang.org/api from 0.253.0 to 0.254.0 (#134)

Bump google.golang.org/api from 0.253.0 to 0.254.0 (#134) #18

Workflow file for this run

name: Dependabot Auto Release
on:
push:
branches:
- main
jobs:
version:
name: Setup version
if: github.actor == 'codereaper-automation[bot]'
runs-on: ubuntu-latest
outputs:
version: ${{ steps.bump.outputs.new_version }}
steps:
- uses: actions/checkout@v5
with:
ref: main
fetch-depth: 0
- name: Determine next patch version
id: bump
run: |
latest=$(git describe --tags --abbrev=0 || echo "0.0.0")
version=${latest#v}
IFS='.' read -r major minor patch <<< "$version"
new="$major.$minor.$((patch + 1))"
echo "new_version=$new" >> $GITHUB_OUTPUT
release:
name: Build release
needs: version
uses: ./.github/workflows/build-release.yaml
with:
version: ${{ needs.version.outputs.version }}
event_name: release