Update every 14 days; close previous prs
All checks were successful
Check flake syntax / flake-check (push) Successful in 22m22s

This commit is contained in:
2026-05-05 11:38:48 +02:00
parent 8e7c9141c2
commit 9c55854987

View File

@@ -2,7 +2,7 @@ name: Weekly Flake Update
on:
schedule:
- cron: "0 0 * * 4"
- cron: "0 4 /14 * *"
workflow_dispatch:
permissions:
@@ -102,6 +102,18 @@ jobs:
-L "bump"
-t "$COMMIT_MSG"
-d "$COMMIT_DESC"
- name: close other bump requests
run: |
for i in $(tea pr -o simple | grep "Automatic Nixpkgs update" | awk '{print $1}')
do
if [ "$i" = "" ]
then
echo "No bumps to close"
exit 0
else
tea pr close $i
fi
done
- name: Skip pull request
if: steps.no-pr.outcome == 'failure'
shell: bash