mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Slightly better message when contributor modifies examples template (#9372)
# Objective Provide a slightly better message when a contributor needs to update the generated example readme file for [any number of reasons](https://github.com/bevyengine/bevy/pull/9372#discussion_r1285876202) but hasn't added any examples. This recently happened here: https://github.com/bevyengine/bevy/pull/9370#issuecomment-1666776092 The contributor modified the readme template and is being told that they added an example. ## Solution The advice given is still correct. Just change the message so that it's not accusing the contributor of adding an example. It may be possible to instead add more specific messages instead if someone is motivated to do that. edit: reworked this whole PR text --------- Co-authored-by: Nicola Papale <nicopap@users.noreply.github.com>
This commit is contained in:
parent
fe37ba5360
commit
9e8de2aa94
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci-comment-failures.yml
vendored
2
.github/workflows/ci-comment-failures.yml
vendored
|
@ -117,7 +117,7 @@ jobs:
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
issue_number: issue_number,
|
issue_number: issue_number,
|
||||||
body: 'You added a new example but didn\'t update the readme. Please run `cargo run -p build-templated-pages -- update examples` to update it, and commit the file change.'
|
body: 'The generated `examples/README.md` is out of sync with the example metadata in `Cargo.toml` or the example readme template. Please run `cargo run -p build-templated-pages -- update examples` to update it, and commit the file change.'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue