All checks were successful
/ build (push) Successful in 4s
Both help with debugging and troubleshooting. Also allow setting RUST_LOG for manual runs.
21 lines
521 B
YAML
21 lines
521 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 }}" nix-shell .forgejo/script/taskbot.nix --run "fafo-taskbot"
|