moar stuff
This commit is contained in:
parent
ab31fdebcc
commit
1c20e7c3ec
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue