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
5df5824da4
1 changed files with 10 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue