1+ diff --git a/node_modules/@semantic-release/github/index.js b/node_modules/@semantic-release/github/index.js
2+ index 2d1aa8b8..8d383a4b 100644
3+ --- a/node_modules/@semantic-release/github/index.js
4+ +++ b/node_modules/@semantic-release/github/index.js
5+ @@ -4,7 +4,6 @@ import { defaultTo, castArray } from "lodash-es";
6+
7+ import verifyGitHub from "./lib/verify.js";
8+ import addChannelGitHub from "./lib/add-channel.js";
9+ - import publishGitHub from "./lib/publish.js";
10+ import successGitHub from "./lib/success.js";
11+ import failGitHub from "./lib/fail.js";
12+ import { SemanticReleaseOctokit } from "./lib/octokit.js";
13+ @@ -52,19 +51,6 @@ export async function verifyConditions(
14+ verified = true;
15+ }
16+
17+ - export async function publish(
18+ - pluginConfig,
19+ - context,
20+ - { Octokit = SemanticReleaseOctokit } = {},
21+ - ) {
22+ - if (!verified) {
23+ - await verifyGitHub(pluginConfig, context, { Octokit });
24+ - verified = true;
25+ - }
26+ -
27+ - return publishGitHub(pluginConfig, context, { Octokit });
28+ - }
29+ -
30+ export async function addChannel(
31+ pluginConfig,
32+ context,
33+ diff --git a/node_modules/@semantic-release/github/lib/success.js b/node_modules/@semantic-release/github/lib/success.js
34+ index 48246f29..0aa0a549 100644
35+ --- a/node_modules/@semantic-release/github/lib/success.js
36+ +++ b/node_modules/@semantic-release/github/lib/success.js
37+ @@ -16,7 +16,7 @@ const debug = debugFactory("semantic-release:github");
38+
39+ export default async function success(pluginConfig, context, { Octokit }) {
40+ const {
41+ - options: { repositoryUrl },
42+ + options: { repositoryUrl, tagFormat },
43+ commits,
44+ nextRelease,
45+ releases,
46+ @@ -73,7 +73,9 @@ export default async function success(pluginConfig, context, { Octokit }) {
47+ githubUrl ? { hosts: [githubUrl] } : {},
48+ );
49+ const releaseInfos = releases.filter((release) => Boolean(release.name));
50+ - const shas = commits.map(({ hash }) => hash);
51+ + const pkgName = tagFormat.replace('@stoplight/spectral-', '').replace('-${version}', '');
52+ + const pkgNameRegexp = RegExp(`^[a-z]+\\(${pkgName}\\):`);
53+ + const shas = commits.filter(({ subject }) => pkgNameRegexp.test(subject)).map(({ hash }) => hash);
54+
55+ // Get associatedPRs
56+ const associatedPRs = await inChunks(shas, 100, async (chunk) => {
0 commit comments