bevy/.github/workflows
MichiRecRoom 24c3bd5f00
Skip all jobs on the Weekly beta compile test workflow when running on a fork (#16674)
# Objective
The weekly beta compile test workflow can be useful to people who have
forked the repository.

However, there are a few small issues with how this workflow is
currently set up:
* Scheduled workflows run on the base/default branch, with no way
(currently) to change this. On forks, the base/default branch is usually
kept in sync with the main Bevy repository, meaning that running this
workflow on forks would just be a waste of resources. (See
[here](https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule)
- "Scheduled workflows will only run on the default branch.")
* Even if there was a way to change the branch that a scheduled workflow
runs on, forks default to not having an issue tracker.
* Even in the event that a fork's issue tracker is enabled, most users
probably don't want to receive automated issues in the event of a
compilation failure.

Because of these reasons, this workflow is irrelevant for 99% of forks.

## Solution
We now skip all jobs on the `Weekly beta compile test` workflow, if we
detect we're running this workflow on a fork.

## Testing
Testing? Who needs testing? (Seriously though, I made sure the syntax is
correct.)
2024-12-06 08:07:16 +00:00
..
action-on-PR-labeled.yml Update label used for breaking changes (#15958) 2024-10-16 17:50:39 +00:00
ci-comment-failures.yml screenshot comparison: fix upload for macOS... again (#15914) 2024-10-14 23:20:56 +00:00
ci.yml Add screenshot check on UI (#16486) 2024-11-23 18:38:24 +00:00
daily.yml Bump actions/setup-java from 3 to 4 (#15695) 2024-10-07 07:30:37 +00:00
dependencies.yml add cancel in progress support to automated CI checks (#11130) 2024-02-28 16:07:29 +00:00
docs.yml Document private items in dev-docs (#14769) 2024-08-15 20:57:49 +00:00
post-release.yml Bump peter-evans/create-pull-request from 6 to 7 (#15112) 2024-09-09 17:35:40 +00:00
release.yml Bump peter-evans/create-pull-request from 6 to 7 (#15112) 2024-09-09 17:35:40 +00:00
send-screenshots-to-pixeleagle.yml Do not attempt to send screenshots to Pixel Eagle without a token (#16655) 2024-12-05 21:00:01 +00:00
validation-jobs.yml remove check on windows screenshots (#16485) 2024-11-23 18:38:47 +00:00
weekly.yml Skip all jobs on the Weekly beta compile test workflow when running on a fork (#16674) 2024-12-06 08:07:16 +00:00
welcome.yml Fix Welcome Contributors CI (#15123) 2024-09-09 17:52:11 +00:00