ci: Run on ci-staging branch and manual dispatch
All checks were successful
/ build (push) Successful in 4s
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:
parent
e0b0ae4bc8
commit
6dc746dda9
1 changed files with 10 additions and 4 deletions
|
|
@ -2,9 +2,15 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 8,18 * * *'
|
- cron: '0 8,18 * * *'
|
||||||
# For testing:
|
# For testing:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - 'poc'
|
- 'ci-staging'
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
RUST_LOG:
|
||||||
|
description: 'RUST_LOG environment variable for log filter'
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -12,4 +18,4 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- name: Run TaskBot
|
- 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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue