Compare commits

...

39 Commits

Author SHA1 Message Date
1f3354a735 Merge pull request 'Update flake.lock' (#28) from update-lockfile into main 2026-02-08 01:00:47 +01:00
22c2cf5237 Update flake.lock 2026-02-08 01:00:46 +01:00
3203dcdf17 Merge pull request 'Update flake.lock' (#27) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 30s
2026-02-01 01:00:48 +01:00
810a1d81fd Update flake.lock 2026-02-01 01:00:47 +01:00
708758f164 Merge pull request 'Update flake.lock' (#26) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 31s
2026-01-25 01:00:47 +01:00
d6e8d0dbe4 Update flake.lock 2026-01-25 01:00:45 +01:00
a8d4b08076 Merge pull request 'Update flake.lock' (#25) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 31s
2026-01-18 01:00:44 +01:00
213da6e5fd Update flake.lock 2026-01-18 01:00:43 +01:00
b3a3bd05f1 Merge pull request 'Update flake.lock' (#24) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 28s
2026-01-11 01:00:45 +01:00
bc6b8550d5 Update flake.lock 2026-01-11 01:00:44 +01:00
a782c31f8c Merge pull request 'Update flake.lock' (#23) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 28s
2026-01-04 01:00:44 +01:00
cd9c738099 Update flake.lock 2026-01-04 01:00:43 +01:00
350e55b6bb Merge pull request 'Update flake.lock' (#22) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 28s
2025-12-28 01:00:46 +01:00
09d60d8e95 Update flake.lock 2025-12-28 01:00:44 +01:00
0f094261d8 Merge pull request 'Update flake.lock' (#21) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 28s
2025-12-21 01:00:43 +01:00
5e626d7216 Update flake.lock 2025-12-21 01:00:42 +01:00
19ddac120f Merge pull request 'Update flake.lock' (#20) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 26s
2025-12-14 01:00:47 +01:00
24ce2a8a06 Update flake.lock 2025-12-14 01:00:45 +01:00
be3de9eb99 Merge pull request 'Update flake.lock' (#19) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 31s
2025-12-07 01:00:57 +01:00
0211534667 Update flake.lock 2025-12-07 01:00:56 +01:00
c705d5eeab Merge pull request 'Update flake.lock' (#18) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 51s
2025-11-30 01:00:34 +01:00
2c7cb9bdc2 Update flake.lock 2025-11-30 01:00:33 +01:00
b941f8395d Merge pull request 'Update flake.lock' (#17) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 28s
2025-11-23 01:00:33 +01:00
97faa87f04 Update flake.lock 2025-11-23 01:00:32 +01:00
414a61af49 Merge pull request 'Update flake.lock' (#16) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 27s
2025-11-16 01:00:36 +01:00
4c5460227d Update flake.lock 2025-11-16 01:00:34 +01:00
ef79450afb Merge pull request 'Update flake.lock' (#15) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 30s
2025-11-09 01:00:34 +01:00
8ca603f29b Update flake.lock 2025-11-09 01:00:32 +01:00
f4cf9078b0 Merge pull request 'Update flake.lock' (#14) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 28s
2025-11-02 01:00:22 +01:00
1df25d4a75 Update flake.lock 2025-11-02 01:00:20 +01:00
3649f578fd Merge pull request 'Update flake.lock' (#13) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 15s
2025-11-01 08:56:36 +01:00
b595b74079 Update flake.lock 2025-11-01 08:56:35 +01:00
ef55b6e2b1 Merge pull request 'Update flake.lock' (#12) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 30s
2025-10-19 02:00:46 +02:00
cb54ed96fb Update flake.lock 2025-10-19 02:00:44 +02:00
a171f1afc0 Merge pull request 'Update flake.lock' (#11) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 31s
2025-10-12 02:02:01 +02:00
74ccb778d4 Update flake.lock 2025-10-12 02:01:03 +02:00
b5be654bf4 Merge pull request 'Update flake.lock' (#10) from update-lockfile into main
All checks were successful
Auto update flake.lock / auto-update (push) Successful in 2m6s
2025-10-11 19:40:58 +02:00
ced8bd9c6e Update flake.lock 2025-10-11 19:40:00 +02:00
103704dc20 Add auto-update workflow 2025-10-11 19:39:08 +02:00
2 changed files with 84 additions and 6 deletions

View File

@@ -0,0 +1,78 @@
# Based on https://github.com/infinilabs/gitea-pr/blob/main/action.yml
name: Auto update flake.lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
jobs:
auto-update:
runs-on: basic-nix
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Set git bot info
shell: nu {0}
run: |
git config user.email "noreply@notadev.net"
git config user.name "Update bot"
- name: Login to Gitea
shell: bash
env:
SERVER_URL: tea.notadev.net
SERVER_TOKEN: ${{ secrets.token }}
SERVER_USER: ${{ secrets.user }}
SERVER_PASSWORD: ${{ secrets.password }}
run: >-
cd "${{ env.GITHUB_WORKSPACE }}" &&
echo "$PWD" &&
export GITEA_SERVER_URL="$SERVER_URL" &&
export GITEA_SERVER_TOKEN="$SERVER_TOKEN" &&
export GITEA_SERVER_USER="$SERVER_USER" &&
export GITEA_SERVER_PASSWORD="$SERVER_PASSWORD" &&
export XDG_CONFIG_HOME="$PWD" &&
tea login add --scopes "write:activitypub, write:notification, write:issue, write:misc, write:organization, write:package, write:repository, write:user"
- name: Update flake.lock
run: nix flake update
- name: Create new commit
run: |
git checkout -b update-lockfile
git add flake.lock
git commit -m "Update flake.lock"
git push origin update-lockfile
- name: Create PR
shell: bash
run: |
cd "${{ env.GITHUB_WORKSPACE }}"
echo "$PWD"
export XDG_CONFIG_HOME="$PWD"
tea pr create --title "Update flake.lock"
- name: Merge PR
shell: nu {0}
run: |
cd "${{ env.GITHUB_WORKSPACE }}"
echo $env.PWD
$env.XDG_CONFIG_HOME = $env.PWD
let $index = tea pr list --fields "index,head" --output csv
| from csv
| where head =~ update-lockfile
| get index
| $in.0
tea pr merge $index --style merge
- name: Delete branch
shell: nu {0}
run: |
cd "${{ env.GITHUB_WORKSPACE }}"
echo $env.PWD
git checkout main
git branch -D update-lockfile
git push origin :update-lockfile

12
flake.lock generated
View File

@@ -20,11 +20,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1755684980, "lastModified": 1770508249,
"narHash": "sha256-PdWvn30jHwPCGfcTV2Uu22yo4hpGsoWMDHjpAjVeqx4=", "narHash": "sha256-3ahhMTAMoK9KLjmmWAfdC9nVQgGoMACkCsJ99VyAOA8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "263c40ffdf668f4e7d7d3fc4d3318af7fee1d6f9", "rev": "a5cf8d3e5e416aadc5eea9b019823e9b61673abc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -36,11 +36,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1755615617, "lastModified": 1770197578,
"narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=", "narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "20075955deac2583bb12f07151c2df830ef346b4", "rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2",
"type": "github" "type": "github"
}, },
"original": { "original": {