Skip to content

Update Version in Distributions and Prepare PR #54

Update Version in Distributions and Prepare PR

Update Version in Distributions and Prepare PR #54

name: Update Version in Distributions and Prepare PR
on:
workflow_dispatch:
permissions:
contents: read
jobs:
update-version:
runs-on: ubuntu-24.04
permissions:
contents: write # required for pushing changes
pull-requests: write # required for creating PR
steps:
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
id: otelbot-token
with:
app-id: ${{ vars.OTELBOT_COLLECTOR_RELEASES_APP_ID }}
private-key: ${{ secrets.OTELBOT_COLLECTOR_RELEASES_PRIVATE_KEY }}
- name: Set up commit author name and email
id: committer
run: |
git config --global user.name "otelbot"
git config --global user.email "197425009+otelbot@users.noreply.github.com"
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ steps.otelbot-token.outputs.token }}
- name: Run bump-versions.sh
run: |
.github/workflows/scripts/bump-versions.sh --commit --pull-request
env:
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}