Skip to content

Only run test workflow on push to main - #136

Merged
yawkat merged 1 commit into
mainfrom
fix/issue-114
Sep 25, 2026
Merged

yawkat merged 1 commit into
mainfrom
fix/issue-114

Conversation

@yawkat

@yawkat yawkat commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Refs #114.

test.yml had an unfiltered push trigger. As a result, every branch with a PR (including Renovate's) ran the full matrix twice, RISC-V included, and tag pushes ran it again. This PR changes that:

  • push is now limited to main.
  • pull_request is unchanged.
  • workflow_dispatch is added, so the tests can still be run manually on other branches.

Side effect: a tag pushed on a commit that isn't on main no longer gets the three-architecture test run.

Checks for the other points in the issue (not code changes):

  • RISC-V runners: ubuntu-24.04-riscv jobs run on the RISE Project's one-job-per-runner service. Runner names are rise-riscv-runner-*, labels are assigned by the service, and each job gets a fresh runner. A fork PR can't leave anything behind on them.
  • Fork PR approval: currently first_time_contributors, which is GitHub's default. Whether to tighten it to all outside contributors is a maintainer decision (Settings → Actions → General).

🤖 Generated with Claude Code

Restrict the push trigger to main so feature branch and tag pushes no
longer run the full matrix (and same-repo PRs no longer run twice).
Add workflow_dispatch so the workflow can still be run manually on
other branches.

Refs #114

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yawkat yawkat added this to the 1.11.4 milestone Sep 25, 2026
@yawkat
yawkat enabled auto-merge (squash) September 25, 2026 15:43
@yawkat
yawkat merged commit 449377e into main Sep 25, 2026
3 checks passed
@yawkat
yawkat deleted the fix/issue-114 branch September 25, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant