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.
This commit is contained in:
Rahix 2026-03-05 21:00:35 +01:00
parent e0b0ae4bc8
commit 5df5824da4

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 }}" nix-shell .forgejo/script/taskbot.nix --run "fafo-taskbot"