From 5df5824da4a434c6ae6b0379fd9d2aa74a10427f Mon Sep 17 00:00:00 2001 From: Rahix Date: Thu, 5 Mar 2026 21:00:35 +0100 Subject: [PATCH] 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..223ee8e 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 }}" nix-shell .forgejo/script/taskbot.nix --run "fafo-taskbot"