File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,38 +2,31 @@ name: Update balatrobot dependency
22on :
33 repository_dispatch :
44 types : [balatrobot_release]
5-
65permissions :
76 contents : write
87 pull-requests : write
9-
108jobs :
119 update-dependency :
1210 runs-on : ubuntu-latest
1311 steps :
1412 - uses : actions/checkout@v4
15-
1613 - name : Extract version from payload
1714 id : version
1815 run : |
1916 echo "VERSION=${{ github.event.client_payload.version }}" >> $GITHUB_OUTPUT
20-
2117 - name : Install uv
2218 uses : astral-sh/setup-uv@v5
2319 with :
2420 enable-cache : true
2521 cache-dependency-glob : " uv.lock"
26-
2722 - name : Update balatrobot dependency
2823 run : |
2924 # Update exact version in pyproject.toml
3025 sed -i 's/balatrobot>=.*/balatrobot==${{ steps.version.outputs.VERSION }}/' pyproject.toml
3126 # Verify the change
3227 grep balatrobot pyproject.toml
33-
3428 - name : Update lock file
3529 run : uv sync
36-
3730 - name : Create Pull Request
3831 uses : peter-evans/create-pull-request@v6
3932 with :
You can’t perform that action at this time.
0 commit comments