mortbopet / Ripes

A graphical processor simulator and assembly editor for the RISC-V ISA
https://ripes.me/
MIT License
2.49k stars 270 forks source link

Prevent release-based Github Actions from running on forks #340

Closed raccog closed 5 months ago

raccog commented 7 months ago

Since release-based Github Action workflows currently require @mortbopet's account details, these workflows automatically fail when run on forks. These workflows have been prevented in this commit by adding a conditional that runs them only for @mortbopet's repo.

This could be expanded in the future so that forks can use their own account info to create releases.

Also fixes the workflows "Ripes Tests" and "WASM / Qt 6.6.0" to run on branches that contain the / character in their name.

Even though I think the change is complete, I'm labeling this PR as a draft so that you can ensure it doesn't break any workflows before it is accepted.

Fixes #333.