moar stuff

This commit is contained in:
uku 2024-11-07 21:25:04 +01:00
parent ab31fdebcc
commit 1c20e7c3ec
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o

View file

@ -20,12 +20,14 @@ jobs:
git config --global user.email "bot@uku.moe"
- name: Update lockfile
id: update_lockfile
run: |
export BRANCH="update-lock-$(date -I)"
git checkout -b "$BRANCH"
git checkout -b "update-lock-$(date -I)"
nix flake update --commit-lock-file
git push origin "$BRANCH"
echo "commits=$(git log --oneline origin/main..HEAD)" >> "$GITHUB_OUTPUT"
- name: Create Pull Request
if: ${{ steps.update_lockfile.outputs.commits }} != ""
run: |
git push origin HEAD
echo EXPLODE