TaskBot/.forgejo/workflows/taskbot.yml
Rahix 6dc746dda9
All checks were successful
/ build (push) Successful in 4s
ci: Run on ci-staging branch and manual dispatch
Both help with debugging and troubleshooting.  Also allow setting
RUST_LOG for manual runs.
2026-03-05 21:07:53 +01:00

21 lines
531 B
YAML

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