feat(npins): Use a dedicated shell
Some checks are pending
Build all the nodes / tower01 (push) Waiting to run
Check workflows / check_workflows (push) Successful in 20s
Build all the nodes / ap01 (push) Successful in 32s
Build all the nodes / netaccess01 (push) Successful in 25s
Build all the nodes / bridge01 (push) Successful in 50s
Build all the nodes / netcore00 (push) Successful in 20s
Build all the nodes / build01 (push) Successful in 54s
Build all the nodes / hypervisor01 (push) Successful in 1m3s
Build all the nodes / geo01 (push) Successful in 1m4s
Build all the nodes / geo02 (push) Successful in 1m4s
Build all the nodes / hypervisor02 (push) Successful in 1m4s
Build all the nodes / cof02 (push) Successful in 1m6s
Build all the nodes / hypervisor03 (push) Successful in 1m4s
Run pre-commit on all files / pre-commit (push) Successful in 26s
Build the shell / build-shell (push) Successful in 28s
Build all the nodes / netcore01 (push) Successful in 40s
Build all the nodes / netcore02 (push) Successful in 39s
Build all the nodes / web02 (push) Successful in 1m2s
Build all the nodes / vault01 (push) Successful in 1m5s
Build all the nodes / web03 (push) Successful in 1m4s
Build all the nodes / web01 (push) Successful in 1m37s
Build all the nodes / rescue01 (push) Successful in 1m52s
Build all the nodes / storage01 (push) Successful in 1m51s
Build all the nodes / compute01 (push) Successful in 3m51s

This commit is contained in:
Tom Hubrecht 2025-04-13 11:28:55 +02:00
parent fbd10262c3
commit 4b9721457c
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
3 changed files with 98 additions and 97 deletions

View file

@ -24,7 +24,7 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update agenix' COMMIT_MESSAGE: 'chore(npins): Update agenix'
GIT_UPDATE_BRANCH: npins-updates/agenix GIT_UPDATE_BRANCH: npins-updates/agenix
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update agenix\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update agenix'\n\nif [ ! -z \"$(git
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit \n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit
--amend --no-edit\n git push --force\n else\n git commit --message --amend --no-edit\n git push --force\n else\n git commit --message
@ -54,12 +54,12 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update arkheon' COMMIT_MESSAGE: 'chore(npins): Update arkheon'
GIT_UPDATE_BRANCH: npins-updates/arkheon GIT_UPDATE_BRANCH: npins-updates/arkheon
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update arkheon\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update arkheon'\n\nif [ ! -z \"
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ $(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
--amend --no-edit\n git push --force\n else\n git commit --message \ git commit --amend --no-edit\n git push --force\n else\n git commit
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
\ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\") \ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\")
@ -84,8 +84,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update cas-eleves' COMMIT_MESSAGE: 'chore(npins): Update cas-eleves'
GIT_UPDATE_BRANCH: npins-updates/cas-eleves GIT_UPDATE_BRANCH: npins-updates/cas-eleves
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update cas-eleves\"\n\nif [ ! -z \" run: "nix-shell -A npins-shell --run 'npins update cas-eleves'\n\nif [ ! -z
$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -114,8 +114,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update cgroup-exporter' COMMIT_MESSAGE: 'chore(npins): Update cgroup-exporter'
GIT_UPDATE_BRANCH: npins-updates/cgroup-exporter GIT_UPDATE_BRANCH: npins-updates/cgroup-exporter
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update cgroup-exporter\"\n\nif [ ! -z run: "nix-shell -A npins-shell --run 'npins update cgroup-exporter'\n\nif [
\"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing ! -z \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -144,12 +144,12 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update colmena' COMMIT_MESSAGE: 'chore(npins): Update colmena'
GIT_UPDATE_BRANCH: npins-updates/colmena GIT_UPDATE_BRANCH: npins-updates/colmena
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update colmena\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update colmena'\n\nif [ ! -z \"
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ $(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
--amend --no-edit\n git push --force\n else\n git commit --message \ git commit --amend --no-edit\n git push --force\n else\n git commit
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
\ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\") \ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\")
@ -174,9 +174,9 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update dgsi' COMMIT_MESSAGE: 'chore(npins): Update dgsi'
GIT_UPDATE_BRANCH: npins-updates/dgsi GIT_UPDATE_BRANCH: npins-updates/dgsi
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update dgsi\"\n\nif [ ! -z \"$(git diff run: "nix-shell -A npins-shell --run 'npins update dgsi'\n\nif [ ! -z \"$(git
--name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\n\ diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\
\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit \n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit
--amend --no-edit\n git push --force\n else\n git commit --message --amend --no-edit\n git push --force\n else\n git commit --message
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n # Connect to the server with the cli\n tea login add -n dgnum-chores
@ -204,7 +204,7 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update disko' COMMIT_MESSAGE: 'chore(npins): Update disko'
GIT_UPDATE_BRANCH: npins-updates/disko GIT_UPDATE_BRANCH: npins-updates/disko
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update disko\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update disko'\n\nif [ ! -z \"$(git
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit \n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit
--amend --no-edit\n git push --force\n else\n git commit --message --amend --no-edit\n git push --force\n else\n git commit --message
@ -234,12 +234,12 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update dns.nix' COMMIT_MESSAGE: 'chore(npins): Update dns.nix'
GIT_UPDATE_BRANCH: npins-updates/dns.nix GIT_UPDATE_BRANCH: npins-updates/dns.nix
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update dns.nix\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update dns.nix'\n\nif [ ! -z \"
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ $(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
--amend --no-edit\n git push --force\n else\n git commit --message \ git commit --amend --no-edit\n git push --force\n else\n git commit
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
\ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\") \ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\")
@ -264,12 +264,12 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update git-hooks' COMMIT_MESSAGE: 'chore(npins): Update git-hooks'
GIT_UPDATE_BRANCH: npins-updates/git-hooks GIT_UPDATE_BRANCH: npins-updates/git-hooks
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update git-hooks\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update git-hooks'\n\nif [ ! -z \"\
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ $(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
--amend --no-edit\n git push --force\n else\n git commit --message \ git commit --amend --no-edit\n git push --force\n else\n git commit
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
\ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\") \ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\")
@ -294,12 +294,12 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update kadenios' COMMIT_MESSAGE: 'chore(npins): Update kadenios'
GIT_UPDATE_BRANCH: npins-updates/kadenios GIT_UPDATE_BRANCH: npins-updates/kadenios
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update kadenios\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update kadenios'\n\nif [ ! -z \"\
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ $(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
--amend --no-edit\n git push --force\n else\n git commit --message \ git commit --amend --no-edit\n git push --force\n else\n git commit
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
\ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\") \ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\")
@ -324,7 +324,7 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update kahulm' COMMIT_MESSAGE: 'chore(npins): Update kahulm'
GIT_UPDATE_BRANCH: npins-updates/kahulm GIT_UPDATE_BRANCH: npins-updates/kahulm
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update kahulm\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update kahulm'\n\nif [ ! -z \"$(git
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit \n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit
--amend --no-edit\n git push --force\n else\n git commit --message --amend --no-edit\n git push --force\n else\n git commit --message
@ -354,12 +354,12 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update kat-pkgs' COMMIT_MESSAGE: 'chore(npins): Update kat-pkgs'
GIT_UPDATE_BRANCH: npins-updates/kat-pkgs GIT_UPDATE_BRANCH: npins-updates/kat-pkgs
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update kat-pkgs\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update kat-pkgs'\n\nif [ ! -z \"\
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ $(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
--amend --no-edit\n git push --force\n else\n git commit --message \ git commit --amend --no-edit\n git push --force\n else\n git commit
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
\ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\") \ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\")
@ -384,12 +384,12 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update liminix' COMMIT_MESSAGE: 'chore(npins): Update liminix'
GIT_UPDATE_BRANCH: npins-updates/liminix GIT_UPDATE_BRANCH: npins-updates/liminix
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update liminix\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update liminix'\n\nif [ ! -z \"
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ $(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
--amend --no-edit\n git push --force\n else\n git commit --message \ git commit --amend --no-edit\n git push --force\n else\n git commit
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
\ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\") \ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\")
@ -414,7 +414,7 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update linkal' COMMIT_MESSAGE: 'chore(npins): Update linkal'
GIT_UPDATE_BRANCH: npins-updates/linkal GIT_UPDATE_BRANCH: npins-updates/linkal
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update linkal\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update linkal'\n\nif [ ! -z \"$(git
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit \n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit
--amend --no-edit\n git push --force\n else\n git commit --message --amend --no-edit\n git push --force\n else\n git commit --message
@ -444,9 +444,9 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update lix' COMMIT_MESSAGE: 'chore(npins): Update lix'
GIT_UPDATE_BRANCH: npins-updates/lix GIT_UPDATE_BRANCH: npins-updates/lix
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update lix\"\n\nif [ ! -z \"$(git diff run: "nix-shell -A npins-shell --run 'npins update lix'\n\nif [ ! -z \"$(git
--name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\n\ diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\
\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit \n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit
--amend --no-edit\n git push --force\n else\n git commit --message --amend --no-edit\n git push --force\n else\n git commit --message
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n # Connect to the server with the cli\n tea login add -n dgnum-chores
@ -474,8 +474,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update lix-module' COMMIT_MESSAGE: 'chore(npins): Update lix-module'
GIT_UPDATE_BRANCH: npins-updates/lix-module GIT_UPDATE_BRANCH: npins-updates/lix-module
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update lix-module\"\n\nif [ ! -z \" run: "nix-shell -A npins-shell --run 'npins update lix-module'\n\nif [ ! -z
$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -504,9 +504,9 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update lon' COMMIT_MESSAGE: 'chore(npins): Update lon'
GIT_UPDATE_BRANCH: npins-updates/lon GIT_UPDATE_BRANCH: npins-updates/lon
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update lon\"\n\nif [ ! -z \"$(git diff run: "nix-shell -A npins-shell --run 'npins update lon'\n\nif [ ! -z \"$(git
--name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\n\ diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\
\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit \n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit
--amend --no-edit\n git push --force\n else\n git commit --message --amend --no-edit\n git push --force\n else\n git commit --message
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n # Connect to the server with the cli\n tea login add -n dgnum-chores
@ -534,7 +534,7 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update metis' COMMIT_MESSAGE: 'chore(npins): Update metis'
GIT_UPDATE_BRANCH: npins-updates/metis GIT_UPDATE_BRANCH: npins-updates/metis
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update metis\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update metis'\n\nif [ ! -z \"$(git
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit \n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit
--amend --no-edit\n git push --force\n else\n git commit --message --amend --no-edit\n git push --force\n else\n git commit --message
@ -564,8 +564,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update microvm.nix' COMMIT_MESSAGE: 'chore(npins): Update microvm.nix'
GIT_UPDATE_BRANCH: npins-updates/microvm.nix GIT_UPDATE_BRANCH: npins-updates/microvm.nix
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update microvm.nix\"\n\nif [ ! -z \"\ run: "nix-shell -A npins-shell --run 'npins update microvm.nix'\n\nif [ ! -z
$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -594,8 +594,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update nix-actions' COMMIT_MESSAGE: 'chore(npins): Update nix-actions'
GIT_UPDATE_BRANCH: npins-updates/nix-actions GIT_UPDATE_BRANCH: npins-updates/nix-actions
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update nix-actions\"\n\nif [ ! -z \"\ run: "nix-shell -A npins-shell --run 'npins update nix-actions'\n\nif [ ! -z
$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -624,8 +624,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update nix-modules' COMMIT_MESSAGE: 'chore(npins): Update nix-modules'
GIT_UPDATE_BRANCH: npins-updates/nix-modules GIT_UPDATE_BRANCH: npins-updates/nix-modules
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update nix-modules\"\n\nif [ ! -z \"\ run: "nix-shell -A npins-shell --run 'npins update nix-modules'\n\nif [ ! -z
$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -654,12 +654,12 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update nix-pkgs' COMMIT_MESSAGE: 'chore(npins): Update nix-pkgs'
GIT_UPDATE_BRANCH: npins-updates/nix-pkgs GIT_UPDATE_BRANCH: npins-updates/nix-pkgs
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update nix-pkgs\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update nix-pkgs'\n\nif [ ! -z \"\
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ $(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
--amend --no-edit\n git push --force\n else\n git commit --message \ git commit --amend --no-edit\n git push --force\n else\n git commit
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
\ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\") \ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\")
@ -684,12 +684,12 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update nix-reuse' COMMIT_MESSAGE: 'chore(npins): Update nix-reuse'
GIT_UPDATE_BRANCH: npins-updates/nix-reuse GIT_UPDATE_BRANCH: npins-updates/nix-reuse
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update nix-reuse\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update nix-reuse'\n\nif [ ! -z \"\
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ $(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
--amend --no-edit\n git push --force\n else\n git commit --message \ git commit --amend --no-edit\n git push --force\n else\n git commit
\"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
\ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\") \ if [ -z $(tea pr ls -f='head' -o simple | grep \"$GIT_UPDATE_BRANCH\")
@ -714,8 +714,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update nixos-24.05' COMMIT_MESSAGE: 'chore(npins): Update nixos-24.05'
GIT_UPDATE_BRANCH: npins-updates/nixos-24.05 GIT_UPDATE_BRANCH: npins-updates/nixos-24.05
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update nixos-24.05\"\n\nif [ ! -z \"\ run: "nix-shell -A npins-shell --run 'npins update nixos-24.05'\n\nif [ ! -z
$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -744,8 +744,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update nixos-24.11' COMMIT_MESSAGE: 'chore(npins): Update nixos-24.11'
GIT_UPDATE_BRANCH: npins-updates/nixos-24.11 GIT_UPDATE_BRANCH: npins-updates/nixos-24.11
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update nixos-24.11\"\n\nif [ ! -z \"\ run: "nix-shell -A npins-shell --run 'npins update nixos-24.11'\n\nif [ ! -z
$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -774,8 +774,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update nixos-generators' COMMIT_MESSAGE: 'chore(npins): Update nixos-generators'
GIT_UPDATE_BRANCH: npins-updates/nixos-generators GIT_UPDATE_BRANCH: npins-updates/nixos-generators
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update nixos-generators\"\n\nif [ ! run: "nix-shell -A npins-shell --run 'npins update nixos-generators'\n\nif [
-z \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing ! -z \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -804,8 +804,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update nixos-unstable' COMMIT_MESSAGE: 'chore(npins): Update nixos-unstable'
GIT_UPDATE_BRANCH: npins-updates/nixos-unstable GIT_UPDATE_BRANCH: npins-updates/nixos-unstable
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update nixos-unstable\"\n\nif [ ! -z run: "nix-shell -A npins-shell --run 'npins update nixos-unstable'\n\nif [ !
\"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing -z \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\
\ git commit --amend --no-edit\n git push --force\n else\n git commit \ git commit --amend --no-edit\n git push --force\n else\n git commit
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -834,11 +834,11 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update signal-irc-bridge' COMMIT_MESSAGE: 'chore(npins): Update signal-irc-bridge'
GIT_UPDATE_BRANCH: npins-updates/signal-irc-bridge GIT_UPDATE_BRANCH: npins-updates/signal-irc-bridge
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update signal-irc-bridge\"\n\nif [ ! run: "nix-shell -A npins-shell --run 'npins update signal-irc-bridge'\n\nif
-z \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing [ ! -z \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected,
updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n\ pushing updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ];
\ git commit --amend --no-edit\n git push --force\n else\n git commit then\n git commit --amend --no-edit\n git push --force\n else\n \
--message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ \ git commit --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
\n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores \n fi\n\n # Connect to the server with the cli\n tea login add -n dgnum-chores
-t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \ -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN }}\" -u https://git.dgnum.eu\n\n \
\ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\ \ # Create a pull request if needed\n # i.e. no PR with the same title exists\n\
@ -864,8 +864,8 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update stateless-uptime-kuma' COMMIT_MESSAGE: 'chore(npins): Update stateless-uptime-kuma'
GIT_UPDATE_BRANCH: npins-updates/stateless-uptime-kuma GIT_UPDATE_BRANCH: npins-updates/stateless-uptime-kuma
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update stateless-uptime-kuma\"\n\nif run: "nix-shell -A npins-shell --run 'npins update stateless-uptime-kuma'\n\n
[ ! -z \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected, if [ ! -z \"$(git diff --name-only)\" ]; then\n echo \"[+] Changes detected,
pushing updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; pushing updates.\"\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ];
then\n git commit --amend --no-edit\n git push --force\n else\n \ then\n git commit --amend --no-edit\n git push --force\n else\n \
\ git commit --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\ \ git commit --message \"$COMMIT_MESSAGE\"\n git push -u origin \"$GIT_UPDATE_BRANCH\"\
@ -894,7 +894,7 @@ jobs:
COMMIT_MESSAGE: 'chore(npins): Update wp4nix' COMMIT_MESSAGE: 'chore(npins): Update wp4nix'
GIT_UPDATE_BRANCH: npins-updates/wp4nix GIT_UPDATE_BRANCH: npins-updates/wp4nix
name: Open a PR if updates are present name: Open a PR if updates are present
run: "nix-shell shell.nix --run \"npins update wp4nix\"\n\nif [ ! -z \"$(git run: "nix-shell -A npins-shell --run 'npins update wp4nix'\n\nif [ ! -z \"$(git
diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\ diff --name-only)\" ]; then\n echo \"[+] Changes detected, pushing updates.\"\
\n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit \n\n git add npins\n\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit
--amend --no-edit\n git push --force\n else\n git commit --message --amend --no-edit\n git push --force\n else\n git commit --message

View file

@ -242,6 +242,7 @@ in
check-workflows.shellHook = workflows.shellHook; check-workflows.shellHook = workflows.shellHook;
eval-nodes.packages = [ scripts.cache-node ]; eval-nodes.packages = [ scripts.cache-node ];
eval-shell.packages = [ scripts.nix-build-and-cache ]; eval-shell.packages = [ scripts.nix-build-and-cache ];
npins-shell.packages = [ pkgs.npins ];
}; };
}; };
} }

View file

@ -61,7 +61,7 @@ in
name = "Open a PR if updates are present"; name = "Open a PR if updates are present";
run = # bash run = # bash
'' ''
nix-shell shell.nix --run "npins update ${name}" nix-shell -A npins-shell --run 'npins update ${name}'
if [ ! -z "$(git diff --name-only)" ]; then if [ ! -z "$(git diff --name-only)" ]; then
echo "[+] Changes detected, pushing updates." echo "[+] Changes detected, pushing updates."