Skip to content

test.yml: restrict the push trigger and review who runs fork PRs on the RISC-V runner #114

Description

@yawkat
  • ubuntu-24.04-riscv is not a GitHub-hosted label; it is probably the RISE Project's RISC-V runner service. Check the "Set up job" log of a recent riscv job, and confirm that Settings → Actions → Runners has no persistent self-hosted runner with that label. If there is one, fork PRs run arbitrary code on it, and the riscv leg should be limited to trusted events.
  • In Settings → Actions → General, consider requiring approval for fork PR workflows from outside contributors, so drive-by PRs don't use the donated RISC-V capacity.
  • push has no branch filter, so feature branches and tags run the whole matrix, and same-repo PRs run twice. Tag pushes also write the Maven cache. Consider push: branches: [main].

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions