keyboardio / Chrysalis

Graphical configurator for Kaleidoscope-powered keyboards
https://github.com/keyboardio/Chrysalis#chrysalis
GNU General Public License v3.0
496 stars 64 forks source link

ci: Only run the publish step for PRs when the source repo is ours #1197

Closed algernon closed 2 years ago

algernon commented 2 years ago

Because the publish step requires secrets that are unavailable for pull requests, we can't - and don't want to, either - run the publish step, because it would fail. As such, skip the step instead.

This does reduce the usefulness of building artifacts for each PR, but they remain useful for PRs originating from the Chrysalis repo, so it is still worth keeping.