From 6dc746dda9d7c136cfd41d1e6032af2881a203f3 Mon Sep 17 00:00:00 2001 From: Rahix Date: Thu, 5 Mar 2026 21:00:35 +0100 Subject: [PATCH 1/2] ci: Run on ci-staging branch and manual dispatch Both help with debugging and troubleshooting. Also allow setting RUST_LOG for manual runs. --- .forgejo/workflows/taskbot.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/taskbot.yml b/.forgejo/workflows/taskbot.yml index be3f5bd..c17d06b 100644 --- a/.forgejo/workflows/taskbot.yml +++ b/.forgejo/workflows/taskbot.yml @@ -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" From af6fbb002220af0021197469f0559bc9020f1e02 Mon Sep 17 00:00:00 2001 From: Rahix Date: Thu, 5 Mar 2026 21:12:03 +0100 Subject: [PATCH 2/2] ci: Upgrade to latest taskbot --- .forgejo/script/taskbot.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/script/taskbot.nix b/.forgejo/script/taskbot.nix index da67a7d..82a7af4 100644 --- a/.forgejo/script/taskbot.nix +++ b/.forgejo/script/taskbot.nix @@ -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