2 Commits

Author SHA1 Message Date
c31a576fbd I might be stupid...
All checks were successful
Check flake syntax / flake-check (push) Successful in 30m43s
2026-06-06 00:15:42 +02:00
34db721709 [workflow] fix autoupdate not running -.-
All checks were successful
Check flake syntax / flake-check (push) Successful in 23m34s
2026-06-04 15:24:52 +02:00

View File

@@ -2,7 +2,7 @@ name: Weekly Flake Update
on: on:
schedule: schedule:
- cron: "0 4 /14 * *" - cron: "0 4 1/14 * *"
workflow_dispatch: workflow_dispatch:
permissions: permissions:
@@ -89,6 +89,18 @@ jobs:
grep -q ${{ github.ref_name }} && grep -q ${{ github.ref_name }} &&
exit 1 || exit 1 ||
exit 0 exit 0
- 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: Force push branch - name: Force push branch
run: git push --force -u origin nixpkgs_bump_$(date +%Y%m%d) run: git push --force -u origin nixpkgs_bump_$(date +%Y%m%d)
- name: Create pull request - name: Create pull request
@@ -102,18 +114,6 @@ jobs:
-L "bump" -L "bump"
-t "$COMMIT_MSG" -t "$COMMIT_MSG"
-d "$COMMIT_DESC" -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 - name: Skip pull request
if: steps.no-pr.outcome == 'failure' if: steps.no-pr.outcome == 'failure'
shell: bash shell: bash