forked from DGNum/infrastructure
feat(workflows/npins-update): push when only rebasing
Co-authored-by: Tom Hubrecht <tom.hubrecht@dgnum.eu>
This commit is contained in:
parent
5c2b3c73d8
commit
f04a1aa6bc
2 changed files with 32 additions and 30 deletions
|
@ -34,7 +34,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
arkheon:
|
arkheon:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -63,7 +63,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
cas-eleves:
|
cas-eleves:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -92,7 +92,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
cgroup-exporter:
|
cgroup-exporter:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -121,7 +121,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
colmena:
|
colmena:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -150,7 +150,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
dgsi:
|
dgsi:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -179,7 +179,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
disko:
|
disko:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -208,7 +208,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
dns_nix:
|
dns_nix:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -237,7 +237,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
git-hooks:
|
git-hooks:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -266,7 +266,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
kadenios:
|
kadenios:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -295,7 +295,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
kahulm:
|
kahulm:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -324,7 +324,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
kat-pkgs:
|
kat-pkgs:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -353,7 +353,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
liminix:
|
liminix:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -382,7 +382,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
linkal:
|
linkal:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -411,7 +411,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
lix:
|
lix:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -440,7 +440,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
lix-module:
|
lix-module:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -469,7 +469,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
lon:
|
lon:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -498,7 +498,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
metis:
|
metis:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -527,7 +527,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
microvm_nix:
|
microvm_nix:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -556,7 +556,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
nix-actions:
|
nix-actions:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -585,7 +585,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
nix-modules:
|
nix-modules:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -614,7 +614,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
nix-pkgs:
|
nix-pkgs:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -643,7 +643,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
nix-reuse:
|
nix-reuse:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -672,7 +672,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
nixos-24_05:
|
nixos-24_05:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -701,7 +701,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
nixos-24_11:
|
nixos-24_11:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -730,7 +730,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
nixos-generators:
|
nixos-generators:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -759,7 +759,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
nixos-unstable:
|
nixos-unstable:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -788,7 +788,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
signal-irc-bridge:
|
signal-irc-bridge:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -817,7 +817,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
stateless-uptime-kuma:
|
stateless-uptime-kuma:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -846,7 +846,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
wp4nix:
|
wp4nix:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
@ -875,7 +875,7 @@ jobs:
|
||||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
no PR with the same title exists\n if [ -z $(tea pr ls -f='head' -o simple
|
||||||
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
| grep \"$GIT_UPDATE_BRANCH\") ]; then\n tea pr create --description \"\
|
||||||
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head \"$GIT_UPDATE_BRANCH\"\
|
||||||
\n fi\nfi\n"
|
\n fi\nelif [ -n \"$EXISTING_BRANCH\" ]; then\n git push --force\nfi\n"
|
||||||
name: Update dependencies
|
name: Update dependencies
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
|
|
|
@ -84,6 +84,8 @@ in
|
||||||
if [ -z $(tea pr ls -f='head' -o simple | grep "$GIT_UPDATE_BRANCH") ]; then
|
if [ -z $(tea pr ls -f='head' -o simple | grep "$GIT_UPDATE_BRANCH") ]; then
|
||||||
tea pr create --description "Automatic npins update" --title "$COMMIT_MESSAGE" --head "$GIT_UPDATE_BRANCH"
|
tea pr create --description "Automatic npins update" --title "$COMMIT_MESSAGE" --head "$GIT_UPDATE_BRANCH"
|
||||||
fi
|
fi
|
||||||
|
elif [ -n "$EXISTING_BRANCH" ]; then
|
||||||
|
git push --force
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue