ci: add workflow_dispatch trigger for manual CI runs
GitHub App token pushes do not trigger pull_request workflow events, blocking CI on bot-authored PRs. Add workflow_dispatch to allow manual CI runs via: gh workflow run ci.yml --ref <branch> Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -5,6 +5,12 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
ref:
|
||||||
|
description: "Branch or ref to run CI against"
|
||||||
|
required: false
|
||||||
|
default: "main"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-typecheck:
|
lint-typecheck:
|
||||||
|
|||||||
Reference in New Issue
Block a user