Closed Sounie closed 2 years ago
It should fail for any other fork because you wouldn't have my dockerhub password
Yeah, I can confirm that the existing setup currently fails.
It looks a bit ugly and wastes processing resources though, so it would be nice if something like this could stop the action earlier.
Ideally, only tagged commits get built, but I'm satisfied with requiring PRs to merge to master
Confirming this behaves as expected. 👍
This is based on what I've seen at: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-run-job-for-specific-repository
Disclaimer: I haven't tried this on my master branch, but will pull it down and verify it if you merge it in.