Skip to content

Update Version in Distributions and Prepare PR #42

Update Version in Distributions and Prepare PR

Update Version in Distributions and Prepare PR #42

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@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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 }}