Compare commits

...

2 commits

Author SHA1 Message Date
af6fbb0022 ci: Upgrade to latest taskbot
All checks were successful
/ build (push) Successful in 1m45s
2026-03-05 21:13:30 +01:00
6dc746dda9 ci: Run on ci-staging branch and manual dispatch
All checks were successful
/ build (push) Successful in 4s
Both help with debugging and troubleshooting.  Also allow setting
RUST_LOG for manual runs.
2026-03-05 21:07:53 +01:00
2 changed files with 13 additions and 7 deletions

View file

@ -4,10 +4,10 @@ let
url = "https://github.com/NixOS/nixpkgs/archive/1267bb4920d0fc06ea916734c11b0bf004bbe17e.tar.gz";
sha256 = "sha256:0sjac485rc346hpj5dvidh3lqdlq5lp7y7glicibgxqizrb90dpc";
};
# Tracking TaskBot main as of 2026-03-02.
# Tracking TaskBot main as of 2026-03-05.
taskbotSrc = fetchTarball {
url = "https://git.fa-fo.de/rahix/TaskBot/archive/0978ed7b5e86589728d538f0fe72e1a86018b0a5.tar.gz";
sha256 = "sha256:0x9bw0vbhl8x83jik40qv4ylvp29dl2ixzrkn3l43f5hym5fqjca";
url = "https://git.fa-fo.de/rahix/TaskBot/archive/e0b0ae4bc86c70b61539c8c88a0b1ab8a5816ac3.tar.gz";
sha256 = "sha256:0vwqyqfvz84cqifn1v54xd74di9l3n1wrjqz8jhgz3h69366w7hj";
};
in with import nixpkgsSrc {}; let

View file

@ -2,9 +2,15 @@ on:
schedule:
- cron: '0 8,18 * * *'
# For testing:
# push:
# branches:
# - 'poc'
push:
branches:
- 'ci-staging'
workflow_dispatch:
inputs:
RUST_LOG:
description: 'RUST_LOG environment variable for log filter'
type: string
required: false
jobs:
build:
@ -12,4 +18,4 @@ jobs:
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- name: Run TaskBot
run: nix-shell .forgejo/script/taskbot.nix --run "fafo-taskbot"
run: RUST_LOG="${{ inputs.RUST_LOG || 'info' }}" nix-shell .forgejo/script/taskbot.nix --run "fafo-taskbot"