Skip to content

Commit 1da40b3

Browse files
committed
fix: stabilize workflow-dispatched tests
1 parent af15193 commit 1da40b3

6 files changed

Lines changed: 13 additions & 9 deletions

File tree

.github/actions/github/resolve-predictable-conflicts/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ dispatch_required_tests() {
6767
return 0
6868
fi
6969

70-
if gh workflow run tests.yml --ref "${head_ref}" -f max-outdated=-1 -f publish-required-statuses=true >/dev/null 2>&1; then
70+
if gh workflow run tests.yml --ref "${head_ref}" -f publish-required-statuses=true >/dev/null 2>&1; then
7171
append_summary " - tests dispatch requested with required status mirroring"
7272

7373
return 0

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ jobs:
226226
env:
227227
GH_TOKEN: ${{ github.token }}
228228
RELEASE_BRANCH: ${{ env.RELEASE_BRANCH_PREFIX }}${{ steps.version.outputs.value }}
229-
run: gh workflow run tests.yml --ref "${RELEASE_BRANCH}" -f max-outdated=-1 -f publish-required-statuses=true
229+
run: gh workflow run tests.yml --ref "${RELEASE_BRANCH}" -f publish-required-statuses=true
230230

231231
- uses: actions/checkout@v6
232232
- name: Checkout dev-tools workflow action source

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111
max-outdated:
1212
description: Maximum number of outdated packages allowed by the dependencies command.
1313
required: false
14-
type: number
15-
default: -1
14+
type: string
15+
default: '-1'
1616
publish-required-statuses:
1717
description: Mirror required test matrix checks as commit statuses for workflow-dispatched runs.
1818
required: false
@@ -28,8 +28,8 @@ on:
2828
max-outdated:
2929
description: Maximum number of outdated packages allowed by the dependencies command.
3030
required: false
31-
type: number
32-
default: -1
31+
type: string
32+
default: '-1'
3333
publish-required-statuses:
3434
description: Mirror required test matrix checks as commit statuses for workflow-dispatched runs.
3535
required: false

.github/workflows/wiki-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
env:
117117
GH_TOKEN: ${{ github.token }}
118118
HEAD_REF: ${{ github.event.pull_request.head.ref }}
119-
run: gh workflow run tests.yml --ref "${HEAD_REF}" -f max-outdated=-1 -f publish-required-statuses=true
119+
run: gh workflow run tests.yml --ref "${HEAD_REF}" -f publish-required-statuses=true
120120

121121
- uses: ./.dev-tools-actions/.github/actions/summary/write
122122
with:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Keep workflow-dispatched test runs from failing before job creation by treating `max-outdated` as a string input and relying on the workflow default when release, wiki, or conflict automation dispatches required test status mirroring.
13+
1014
## [1.22.2] - 2026-04-24
1115

1216
### Fixed

resources/github-actions/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ on:
1212
max-outdated:
1313
description: Maximum number of outdated packages allowed by the dependencies command.
1414
required: false
15-
type: number
16-
default: -1
15+
type: string
16+
default: '-1'
1717
publish-required-statuses:
1818
description: Mirror required test matrix checks as commit statuses for workflow-dispatched runs.
1919
required: false

0 commit comments

Comments
 (0)