tag:github.com,2008:https://github.com/rhys-childs/github/releases Tags from github 2024-11-06T18:19:59Z tag:github.com,2008:Repository/966246441/v11.0.1 2024-11-06T18:19:59Z v11.0.1: fix(success): PRs not recognized as resolved issues (#960) <p>fix(success): PRs not recognized as resolved issues (<a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/960">semantic-release…</a></p> <p><a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/960">…#960</a>)</p> <p>* feat(success): enhance `buildRelatedIssuesQuery` to include additional fields for `PullRequest`</p> <p>* feat(success): refactor `buildIssuesOrPRsFromResponseNode` to remove `type` parameter and include `__typename` in queries to use in its place</p> <p>* update doc</p> <p>* fix(success): correct `buildRelatedIssuesQuery` to use `issueOrPullRequest` for improved query flexibility</p> <p>* feat(tests): add `__typename` field to issues and pull requests in success tests for improved type handling</p> <p>* feat(tests): update test data to include `__typename` for PullRequest in integration tests</p> <p>---------</p> <p>Co-authored-by: Gregor Martynus &lt;39992+gr2m@users.noreply.github.com&gt;</p> babblebey tag:github.com,2008:Repository/966246441/v11.0.0 2024-09-24T20:00:55Z v11.0.0: Merge pull request #916 from semantic-release/add/warn <p>Merge pull request <a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/916">semantic-release#916</a> from semantic-release/add/warn</p> <p>chore(deps): bump minimum peer dependency bound with `semantic-release`</p> babblebey tag:github.com,2008:Repository/966246441/v10.3.5 2024-09-20T18:16:38Z v10.3.5 <p>fix: replace `searchAPI` usage with `GraphQL` in `findSRIssue` util (<a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/907">s…</a></p> <p><a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/907">…emantic-release#907</a>)</p> <p>* feat: add graphql query loader `loadGetSRIssuesQuery` to fetch SRIssues</p> <p>* chore: add new `RELEASE_FAIL_LABEL` constant</p> <p>* feat: integrate issues fetch with graphql</p> <p>* feat: add fallback to searchAPI for backward compatibility</p> <p>* feat: integrated config label in SRIssues search</p> <p>* fix: error `getSRIssue` graphql query label param type</p> <p>* fix: undefined `data` property destructed from graphql reponse</p> <p>* refactor: modified wrong `body` property in query</p> <p>* refactor: remove conditions from searchAPI fallback logic</p> <p>* refactor: replace `getSRIssues` graphql query `label` param with `filter`</p> <p>* feat: implement unique issue sorting to address fallback `backwardIssues` conflict</p> <p>* feat: modify `findSRIssue` integration in `success` script; add `logger` to its params;</p> <p>* feat: integrate opinionated `RELEASE_FAIL_LABEL` into `fail` script</p> <p>* chore: Questions and lint fixes</p> <p>* refactor: modified `findSRIssues` integration in `fail` script</p> <p>* test: fixed `findSRIssue` units test</p> <p>* test: fixed `fail` unit tests</p> <p>* test: fix integrations test</p> <p>* test: fixed `success` unit tests</p> <p>* test: `Verify, release and notify success` fix attempt</p> <p>* test: addressed `"Verify, release and notify success"` case in `integrations`</p> <p>* test: fix `success` units</p> <p>* test: fix `fail` units</p> <p>* refactor: remove error object from searchAPI fallback error handle</p> <p>* test: add new case `"Handle error in searchAPI fallback"`</p> <p>* Revert "refactor: remove conditions from searchAPI fallback logic"</p> <p>This reverts commit <a class="commit-link" href="https://github.com/rhys-childs/github/commit/a478a2b7c63ed65578045caadad6132621c4da03"><tt>a478a2b</tt></a>.</p> <p>* modified `RELEASE_FAIL_LABEL` value to `semantic-release`</p> <p>* test: fix cases for conditional `searchAPI` fallback consumption</p> <p>* Update lib/resolve-config.js</p> babblebey tag:github.com,2008:Repository/966246441/v10.3.4 2024-09-15T15:13:20Z v10.3.4 <p>fix(glob-assets): remove unnecessary option when invoking `globby()` (<a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/924">s…</a></p> <p><a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/924">…emantic-release#924</a>)</p> oscard0m tag:github.com,2008:Repository/966246441/v10.3.3 2024-09-05T22:29:08Z v10.3.3 babblebey tag:github.com,2008:Repository/966246441/v10.3.2 2024-09-04T14:31:56Z v10.3.2 <p>fix: missing `"PullRequest".canBeRebased` field on GHES graphql api (<a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/913">s…</a></p> <p><a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/913">…emantic-release#913</a>)</p> <p>* fix: remove `canBeRebased` from graphql request</p> <p>* test: modify tests</p> babblebey tag:github.com,2008:Repository/966246441/v10.3.1 2024-09-03T19:25:51Z v10.3.1: fix: `max_node_limit_exceeded` error when fetching associatedPRs (#912) <p>fix: `max_node_limit_exceeded` error when fetching associatedPRs (<a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/912">sem…</a></p> <p><a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/912">…antic-release#912</a>)</p> <p>refactor: modify label `first` value in `baseFields` for graphql query generators</p> babblebey tag:github.com,2008:Repository/966246441/v10.3.0 2024-09-02T16:46:01Z v10.3.0: feat: allow conditional skip on success and fail comments (#874) <p>feat: allow conditional skip on success and fail comments (<a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/874">semantic-r…</a></p> <p><a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/874">…elease#874</a>)</p> <p>* feat: add `failCommentCondition` to `fail` script</p> <p>* feat: add `successCommentCondition` and `failCommentCondition` to `resolve-config`</p> <p>* feat: add `successCommentCondition` and `failCommentCondition` to `success` scipt</p> <p>* fix(build): lint</p> <p>* test: add `fail` case `Does not post comments if "failCommentCondition" is "false"`</p> <p>* test: add `fail` case for `Does not post comments on existing issues when "failCommentCondition" is "false"`</p> <p>* fix(build): lint</p> <p>* test(fail): add case for `Post new issue if none exists yet, but don't comment on existing issues when "failCommentCondition" is disallows it`</p> <p>* test(success): add case `Does not comment on issues/PR if "successCommentCondition" is "false"`</p> <p>* Update test/fail.test.js</p> <p>Co-authored-by: Jonas Schubert &lt;jonas.schubert.projects@web.de&gt;</p> <p>* test(success): add case for `Add comment and label to found issues/associatedPR using the "successCommentCondition"`</p> <p>* nits</p> <p>* test(success): add case for `Does not comment/label found associatedPR when "successCommentCondition" disables it`</p> <p>* test(success): improve case `Does not comment/label found associatedPR when "successCommentCondition" disables it`</p> <p>* doc: add documentation for `successCommentCondition` and `failCommentCondition`</p> <p>* Update lib/success.js</p> <p>Co-authored-by: Gregor Martynus &lt;39992+gr2m@users.noreply.github.com&gt;</p> <p>* refactor: modify `failTitle`, `failComment` and `successComment` false deprecation message</p> <p>* refator: implement early return in `fail` and `success` lifecyccle helper function</p> <p>* Update README.md</p> <p>Co-authored-by: Jonas Schubert &lt;jonas.schubert.projects@web.de&gt;</p> <p>* remove `failCommentCondition` example wrong description</p> <p>* build: fix lint</p> <p>* feat: add validators for `successCommentCondition` and `failCommentCondition`</p> <p>* feat: add `buildAssociatedPRs` to create pr object in form of issue object with pull_request property</p> <p>* doc: update README.md</p> <p>* build: fix lint</p> <p>* build: fix failing test `Add custom comment and labels`</p> <p>* feat: request more field for `associatedPRs` via graphql and improve `buildAssociatedPRs` response object with</p> <p>* test: modify integration tests</p> <p>* test: modify `success` unit tests</p> <p>* build: fix lint</p> <p>* build: fix failing tests</p> <p>* feat: add `__typename` to `issue.user` object</p> <p>* test: add new case `Does not comment/label associatedPR created by "Bots"`</p> <p>* test: modify `pull_request` mock value to `boolean`</p> <p>* chore(test): clean debug comments</p> <p>* feat: re-integrate `buildAssociatedPRs`</p> <p>* feat: re-introduced and modifed `loadSingleCommitAssociatedPRs`</p> <p>* refactor: introduce `parsedIssues` as returned value from `prs**.body` and `commits**.message`</p> <p>* feat: added `buildRelatedIssuesQuery` util graphql query builder</p> <p>* feat: implement computation for `responseRelatedIssues`</p> <p>* fix: correct `number` arg type in `buildRelatedIssuesQuery`</p> <p>* refactor: extract common field accross graphql queries to `baseFields`</p> <p>* refactor: transform `buildAssociatedPRs` to `buildIssuesOrPRsFromResponseNode` with ability to build both `PRs` and `Issues` object</p> <p>* feat: integrate `buildIssuesOrPRsFromResponseNode`</p> <p>* feat: implement `issueOrPR` for correctly addressing issues and pr in logs</p> <p>* feat: implement improved chunk operation helper `inChunks` and integrate in pr and issues fetch</p> <p>* build: fix lints</p> <p>* test: update `integrations` test</p> <p>* test: address PR and Issue naming in logs in `success`</p> <p>* refactor: why the `Promise.all()`? Removed it haha</p> <p>* feat: set default `type` param in `buildIssuesOrPRsFromResponseNode`</p> <p>* feat: address edge cases</p> <p>* test: fixed matchers in graphql request in `success` units</p> <p>* build: lint</p> <p>* docs: add ignore bots pr/issues example</p> <p>* fix: user issue `number` over `id`</p> <p>* test: improve case `'Does not comment/label associatedPR and relatedIssues created by "Bots"'`</p> <p>* doc: modify `buildIssuesOrPRsFromResponseNode` documentation</p> <p>---------</p> <p>Co-authored-by: Jonas Schubert &lt;jonas.schubert.projects@web.de&gt; <br />Co-authored-by: Gregor Martynus &lt;39992+gr2m@users.noreply.github.com&gt;</p> babblebey tag:github.com,2008:Repository/966246441/v10.2.0 2024-09-02T16:29:46Z v10.2.0: feat: verify OAuth scopes of classic GitHub PATs (#897) <p>feat: verify OAuth scopes of classic GitHub PATs (<a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/897">semantic-release#897</a>)</p> <p>* fix: verify OAuth scopes of classic GitHub PATs</p> <p>* fix: make EGHNOPERMISSION error message clearer</p> <p>* chore: add comment about x-oauth-scopes header</p> <p>* test: fix failing test</p> <p>* test: add integration test for no maintain permission</p> <p>---------</p> <p>Co-authored-by: Olabode Lawal-Shittabey &lt;babblebey@gmail.com&gt;</p> jedwards1211 tag:github.com,2008:Repository/966246441/v10.1.7 2024-08-20T19:22:11Z v10.1.7: fix: ignore case when checking for repo rename (#903) <p>fix: ignore case when checking for repo rename (<a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/pull/903">semantic-release#903</a>)</p> <p><span class="issue-keyword tooltipped tooltipped-se">fix</span> <a class="issue-link js-issue-link" href="https://github.com/semantic-release/github/issues/901">semantic-release#901</a></p> jedwards1211