Files
windmill/.github/workflows/change-versions.yml
T
Ruben FiszelandClaude Opus 5.5 6122848a27 chore: lock github actions with a workflow lockfile (#12382)
* chore: lock github actions with gh actions-lock lockfile

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: let dependabot update composite action refs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 15:26:17 +01:00

36 lines
1.1 KiB
YAML

name: Change versions
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- "version.txt"
jobs:
change_version:
runs-on: ubicloud
container: node:18
steps:
- uses: actions/create-github-app-token@v2.2.2
id: app
with:
app-id: ${{ vars.INTERNAL_APP_ID }}
private-key: ${{ secrets.INTERNAL_APP_KEY }}
- uses: actions/checkout@v4.4.0
with:
token: ${{ steps.app.outputs.token }}
- run: git config --system --add safe.directory /__w/windmill/windmill
- name: Change versions
run: ./.github/change-versions.sh "$(cat version.txt)"
- uses: actions-rs/toolchain@v1.0.7
with:
toolchain: stable
- name: update lockfile
run: |
cd backend
cargo generate-lockfile
- uses: stefanzweifel/git-auto-commit-action@v5.2.0
with:
commit_user_name: windmill-internal-app[bot]
commit_user_email: windmill-internal-app[bot]@users.noreply.github.com
env:
GITHUB_TOKEN: ${{ steps.app.outputs.token }}