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"
|
git config --global user.email "bot@uku.moe"
|
||||||
|
|
||||||
- name: Update lockfile
|
- name: Update lockfile
|
||||||
|
id: update_lockfile
|
||||||
run: |
|
run: |
|
||||||
export BRANCH="update-lock-$(date -I)"
|
git checkout -b "update-lock-$(date -I)"
|
||||||
git checkout -b "$BRANCH"
|
|
||||||
nix flake update --commit-lock-file
|
nix flake update --commit-lock-file
|
||||||
git push origin "$BRANCH"
|
echo "commits=$(git log --oneline origin/main..HEAD)" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
|
if: ${{ steps.update_lockfile.outputs.commits }} != ""
|
||||||
run: |
|
run: |
|
||||||
|
git push origin HEAD
|
||||||
echo EXPLODE
|
echo EXPLODE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue