bevy/.github
Nathan Stocks dd7f800b25
Only run some workflows on the bevy repo (not forks) (#9872)
# Objective

Eliminate unnecessary Actions CI builds on forks, such as:
- Daily builds, which are a waste of compute on forks, even if they
succeed (although the Android build fails)
- Administrative builds that attempt to deploy something

In both the cases above, forks get CI failures that need to be ignored.
It looks like this:

<img width="1178" alt="image"
src="https://github.com/bevyengine/bevy/assets/5838512/6365059a-1170-4bba-9c60-3e252ae7779f">

<img width="1186" alt="image"
src="https://github.com/bevyengine/bevy/assets/5838512/ab824a0b-5202-42f7-a24f-95c5cd53376c">


## Solution

- [Only run some jobs when they are in the `bevyengine/bevy`
repo.](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-run-job-for-specific-repository)
- Leave the rest of the workflows alone (you still get a full set of CI
for pull requests, for example)

---
2023-09-20 18:22:34 +00:00
..
contributing Cleanup system sets called labels (#7678) 2023-02-14 21:46:07 +00:00
example-run Take example screenshots in CI (#8488) 2023-05-01 18:00:01 +00:00
ISSUE_TEMPLATE Add a performance regression issue template (#8279) 2023-04-04 01:04:18 +00:00
linters Remove markdown dead link check (#4839) 2022-05-25 05:08:34 +00:00
start-mobile-example daily job running mobile example on real devices (#8216) 2023-03-28 23:16:07 +00:00
start-wasm-example ci: Use Ubuntu 22.04 runner for run-examples, run-examples-on-wasm jobs (#6875) 2022-12-08 20:05:27 +00:00
workflows Only run some workflows on the bevy repo (not forks) (#9872) 2023-09-20 18:22:34 +00:00
dependabot.yml dependabot: use new C-Dependencies label 2021-07-13 12:51:48 -07:00
FUNDING.yml Update FUNDING.yml 2023-03-05 20:58:44 -08:00
pull_request_template.md Let contributors know it's okay to delete optional template sections (#4498) 2022-04-16 18:57:51 +00:00