Skip to content

Commit

Permalink
Temporarily allow branches other than canary to have results
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Jan 29, 2025
1 parent e6c4618 commit 0fe5e2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions test/build-rspack-build-tests-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@ async function fetchLatestTestArtifact() {
const res = JSON.parse(stdout)

for (const artifact of res.artifacts) {
if (artifact.expired || artifact.workflow_run.head_branch !== 'canary') {
continue
}
// Temporarily allow other branches too
// if (artifact.expired || artifact.workflow_run.head_branch !== 'canary') {
// continue
// }

return artifact
}
Expand Down
7 changes: 4 additions & 3 deletions test/build-rspack-dev-tests-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@ async function fetchLatestTestArtifact() {
const res = JSON.parse(stdout)

for (const artifact of res.artifacts) {
if (artifact.expired || artifact.workflow_run.head_branch !== 'canary') {
continue
}
// Temporarily allow other branches too
// if (artifact.expired || artifact.workflow_run.head_branch !== 'canary') {
// continue
// }

return artifact
}
Expand Down

0 comments on commit 0fe5e2d

Please sign in to comment.