Skip to content

Automatic Version Bump (#4093) #724

Automatic Version Bump (#4093)

Automatic Version Bump (#4093) #724

Workflow file for this run

name: Autoversion
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
push:
branches:
- 'release/v*.*'
concurrency:
group: bump-version-${{ github.ref }}
cancel-in-progress: false
jobs:
bump:
if: ${{ !github.event.repository.fork }}
runs-on: ubuntu-slim
steps:
- uses: plengauer/opentelemetry-github/actions/instrument/job@571cbe85f925e8ba395a5fca68f47ef9c536106c # v5.60.0
with:
secrets_to_redact: '["${{ github.token }}","${{ secrets.ACTIONS_GITHUB_TOKEN }}","${{ secrets.OPENAI_TOKEN }}"]'
env:
OTEL_EXPORTER_OTLP_ENDPOINT: '${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}'
OTEL_EXPORTER_OTLP_HEADERS: '${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}'
- uses: plengauer/autoversion@badee98ba4eb3a38f99cf8acab7f5510e7e8736f # v5.0.0
with:
github_token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
openai_token: ${{ secrets.OPENAI_TOKEN }}
path_include: ./meta:./src:./actions
increments: ${{ github.ref_name == 'main' && 'major;minor' || 'patch' }}
permissions:
actions: read