Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some merged PRs not considered by semantic-release #947

Open
MikeMcC399 opened this issue Mar 31, 2025 · 0 comments
Open

Some merged PRs not considered by semantic-release #947

MikeMcC399 opened this issue Mar 31, 2025 · 0 comments

Comments

@MikeMcC399
Copy link
Collaborator

Issue

When the following PRs were merged into the master branch, the release job in CircleCI failed to consider their contents. The information message was:

ℹ The local branch master is behind the remote one, therefore a new version won't be published.

5936243 ci(deps): update semantic-release to 24.2.3 (#944)
875b5dc ci: use node.js 22 in circleci mac job (#941)
1362fed ci: use node.js 22 in circleci windows jobs (#939)
npm warn exec The following package was not found and will be installed: [email protected]
npm warn deprecated [email protected]: Renamed to read-package-up
[1:16:37 PM] [semantic-release] › ℹ  Running semantic-release version 23.1.1
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[1:16:37 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[1:16:39 PM] [semantic-release] › ✔  Run automated release from branch master on repository git+https://github.com/cypress-io/cypress-example-kitchensink.git
[1:16:39 PM] [semantic-release] › ℹ  The local branch master is behind the remote one, therefore a new version won't be published.

Analysis

Suggestion

Consider setting a branch protection rule for the master branch according to:

Require status checks before merging

with "Require branch to be up to date before merging" selected:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant