bevy/.github/workflows
MichiRecRoom ec39f6b904
Do not attempt to send screenshots to Pixel Eagle without a token (#16655)
# Objective
Running Github Actions on forks helps users to reduce the amount of CI
errors they get before submitting a PR. However, due to how workflows
are set up on the Bevy repository, this can result in errors occurring
for jobs that may not be related to their PR - in this case, uploading
screenshots to Pixel Eagle.

## Solution
The Pixel Eagle workflow is skipped if we aren't running on the Bevy
repository.

If we are on the Bevy repository, or the user has set it to run
elsewhere, we check if the `PIXELEAGLE_TOKEN` secret is set. If it
isn't, we skip uploading screenshots to Pixel Eagle.

* Artifacts still continue to generate, in case the user needs them.
* In the event that the Pixel Eagle workflow runs, but the
`PIXELEAGLE_TOKEN` secret isn't set, we generate a step summary that
notifies the user of why it was skipped.
https://github.com/LikeLakers2/bevy/actions/runs/12173329006/attempts/1#summary-33953502068
for an example.

## Testing
Lots. And lots. Of trying to get Github Actions to work with me.
2024-12-05 21:00:01 +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 don't check doc in beta ci as it requires nightly (#16356) 2024-11-11 23:23:30 +00:00
welcome.yml Fix Welcome Contributors CI (#15123) 2024-09-09 17:52:11 +00:00