Repository navigation
ci: remove redundant checks from prepare-release workflow - #753
Conversation
The prepare-release workflow ran tests, lint, release-check, and WASM build/test inline before opening the PR. All of these already run as standard PR CI checks, so they were duplicated work. Keep only the version computation, module sync, and PR creation.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a855a50188
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| This PR: | ||
| - syncs nested module requirements and local replaces via `make fix-modules` | ||
| - validates the release candidate with `make test`, `make lint`, `make release-check`, `@ewhauser/gbash-wasm` build, and `@ewhauser/gbash-wasm` tests | ||
| - CI on this PR validates the release candidate via the standard PR checks |
There was a problem hiding this comment.
Keep explicit validation before creating release PR
This change now relies on PR CI after create-pull-request, but the workflow still uses token: ${{ secrets.GITHUB_TOKEN }} and the action docs explicitly note that PRs created with the default token do not trigger on: push/on: pull_request workflows (https://github.com/peter-evans/create-pull-request#token); in this repo, .github/workflows/ci.yml, lint.yml, release-check.yml, and wasm-test.yml are only wired to those events, so the release PR can be opened without running any of the removed checks unless someone manually triggers them or pushes another commit.
Useful? React with 👍 / 👎.
Summary
prepare-release.ymlci.yml,lint.yml,release-check.yml,wasm-test.yml) once the PR is opened, so they were duplicated workTest plan
Prepare Releaseworkflow and verify it creates a PR successfully