mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-22 03:14:06 -05:00
ci: gate merge-queue checks on RunsOn Spot reruns (#14619)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
18bd128172
commit
4fb5b39d36
3 files changed
+42
No files matched your search
@@ -78,3 +78,17 @@ jobs:
|
||||
env:
|
||||
TERM: xterm-256color
|
||||
run: ty check --output-format github
|
||||
|
||||
# Keeps the pull request in the merge queue while RunsOn reruns mypy-check
|
||||
# after an EC2 Spot interruption. The gate fails when mypy-check fails for any
|
||||
# other reason. Require "mypy-check-gate / pass" in the main ruleset, not
|
||||
# "mypy-check".
|
||||
mypy-check-gate:
|
||||
if: ${{ always() && needs.changes.outputs.python == 'true' }}
|
||||
needs: [changes, mypy-check]
|
||||
permissions:
|
||||
actions: read
|
||||
checks: read
|
||||
uses: runs-on/spot-retry-gate/.github/workflows/merge-queue.yml@451eea7c3d2c58d14a1f80f0bbb99eaa347b9471 # ratchet:runs-on/spot-retry-gate/.github/workflows/merge-queue.yml@v1.0.0
|
||||
with:
|
||||
job_results: ${{ toJSON(needs) }}
|
||||
Reference in new issue
Block a user