Update every 14 days; close previous prs
All checks were successful
Check flake syntax / flake-check (push) Successful in 22m22s
All checks were successful
Check flake syntax / flake-check (push) Successful in 22m22s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user