@semantic-release/github 12.0.2 → 12.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/fail.js CHANGED
@@ -56,14 +56,7 @@ export default async function fail(pluginConfig, context, { Octokit }) {
56
56
  const body = failComment
57
57
  ? template(failComment)({ branch, errors })
58
58
  : getFailComment(branch, errors);
59
- const [srIssue] = await findSRIssues(
60
- octokit,
61
- logger,
62
- failTitle,
63
- labels,
64
- owner,
65
- repo,
66
- );
59
+ const [srIssue] = await findSRIssues(octokit, logger, labels, owner, repo);
67
60
 
68
61
  const canCommentOnOrCreateIssue = failCommentCondition
69
62
  ? template(failCommentCondition)({ ...context, issue: srIssue })
package/lib/success.js CHANGED
@@ -457,7 +457,7 @@ function buildAssociatedPRsQuery(shas) {
457
457
  repository(owner: $owner, name: $repo) {
458
458
  ${shas
459
459
  .map((sha) => {
460
- return `commit${sha.slice(0, 6)}: object(oid: "${sha}") {
460
+ return `commit${sha.slice(0, 12)}: object(oid: "${sha}") {
461
461
  ...on Commit {
462
462
  oid
463
463
  associatedPullRequests(first: 100) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semantic-release/github",
3
3
  "description": "semantic-release plugin to publish a GitHub release and comment on released Pull Requests/Issues",
4
- "version": "12.0.2",
4
+ "version": "12.0.4",
5
5
  "type": "module",
6
6
  "author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)",
7
7
  "ava": {
@@ -46,14 +46,14 @@
46
46
  "cpy": "12.1.0",
47
47
  "cz-conventional-changelog": "3.3.0",
48
48
  "fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1",
49
- "lockfile-lint": "4.14.1",
50
- "ls-engines": "0.9.3",
49
+ "lockfile-lint": "5.0.0",
50
+ "ls-engines": "0.10.0",
51
51
  "npm-run-all2": "8.0.4",
52
- "prettier": "3.6.2",
53
- "publint": "0.3.15",
54
- "semantic-release": "25.0.2",
55
- "sinon": "21.0.0",
56
- "tempy": "3.1.0"
52
+ "prettier": "3.8.1",
53
+ "publint": "0.3.17",
54
+ "semantic-release": "25.0.3",
55
+ "sinon": "21.0.1",
56
+ "tempy": "3.2.0"
57
57
  },
58
58
  "engines": {
59
59
  "node": "^22.14.0 || >= 24.10.0"
@@ -128,5 +128,5 @@
128
128
  "github>semantic-release/.github:renovate-config"
129
129
  ]
130
130
  },
131
- "packageManager": "npm@11.4.1"
131
+ "packageManager": "npm@11.8.0"
132
132
  }