Auto-update versions #12171
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: Auto-update versions | |
on: | |
workflow_dispatch: | |
schedule: | |
# hourly at minute 10 | |
- cron: 10 * * * * | |
jobs: | |
auto-update-versions: | |
name: Auto-update versions | |
runs-on: ubuntu-20.04 | |
if: github.repository == 'open-telemetry/opentelemetry.io' | |
env: | |
DEPTH: --depth 500 # submodule clone depth | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use CLA approved github bot | |
run: | | |
git config user.name opentelemetrybot | |
git config user.email [email protected] | |
- run: ./scripts/auto-update/all-versions.sh | |
env: | |
# change this to secrets.GITHUB_TOKEN when testing against a fork | |
GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} |