Skip to content

Bump Provider and Module Versions #10

Bump Provider and Module Versions

Bump Provider and Module Versions #10

Workflow file for this run

name: Bump Provider and Module Versions
on:
schedule:
- cron: '5 * * * *'
workflow_dispatch:
jobs:
bump-versions:
runs-on: ubuntu-latest
environment: Development
permissions:
contents: write
actions: write
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: './src/go.mod'
- name: Run version bump script
working-directory: ./src
run: go run ./cmd/bump-versions
- uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: 'modules/**/* providers/**/*'
commit_user_name: Auto Version Bumper
- name: Invoke publish workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: generate-and-deploy.yml