mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-08-31 12:46:38 +00:00
chore: remove temporary lock refresh workflow
This commit is contained in:
@@ -1,40 +0,0 @@
|
|||||||
name: Refresh uv lock artifact
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lock:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v7
|
|
||||||
with:
|
|
||||||
ref: ${{ github.head_ref }}
|
|
||||||
- uses: actions/setup-python@v7
|
|
||||||
with:
|
|
||||||
python-version: "3.13.15"
|
|
||||||
- name: Install uv
|
|
||||||
run: python -m pip install --disable-pip-version-check uv
|
|
||||||
- name: Regenerate lockfile
|
|
||||||
run: uv lock
|
|
||||||
- name: Commit refreshed lockfile
|
|
||||||
run: |
|
|
||||||
git config user.name "github-actions[bot]"
|
|
||||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
||||||
git add uv.lock
|
|
||||||
if git diff --cached --quiet; then
|
|
||||||
echo "uv.lock already up to date"
|
|
||||||
else
|
|
||||||
git commit -m "build(deps): regenerate uv lock"
|
|
||||||
git push origin HEAD:${{ github.head_ref }}
|
|
||||||
fi
|
|
||||||
- name: Upload lockfile
|
|
||||||
uses: actions/upload-artifact@v7
|
|
||||||
with:
|
|
||||||
name: refreshed-uv-lock
|
|
||||||
path: uv.lock
|
|
||||||
Reference in New Issue
Block a user