* add flow to ask claude to review pr * allow app for claude * cleaning * use app for change versions flow * add owner * fix * rename
36 lines
1.1 KiB
YAML
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
|
|
id: app
|
|
with:
|
|
app-id: ${{ vars.INTERNAL_APP_ID }}
|
|
private-key: ${{ secrets.INTERNAL_APP_KEY }}
|
|
- uses: actions/checkout@v4
|
|
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
|
|
with:
|
|
toolchain: stable
|
|
- name: update lockfile
|
|
run: |
|
|
cd backend
|
|
cargo generate-lockfile
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
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 }}
|