mirror of
https://github.com/apache/superset.git
synced 2026-08-05 05:22:37 +00:00
ci: add workflow_dispatch to force a full --all-files prek run
Lets us validate the prek spike against the whole tree (mypy included) on demand instead of waiting for the nightly cron. Spike-only.
This commit is contained in:
5
.github/workflows/pre-commit.yml
vendored
5
.github/workflows/pre-commit.yml
vendored
@@ -12,6 +12,11 @@ on:
|
||||
# importing test) can pass every PR yet leave master red. This catches that.
|
||||
schedule:
|
||||
- cron: "0 6 * * *"
|
||||
# Spike-only: lets us force a full --all-files run on demand (workflow_dispatch
|
||||
# has no diffable base, so "Determine changed files" below falls back to
|
||||
# mode=all) to validate prek against the whole tree without waiting for the
|
||||
# nightly cron. Remove if/when this spike is promoted or dropped.
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user