build(deps-dev): bump eslint-plugin-github from 4.8.0 to 4.10.0 (#2272)

* build(deps-dev): bump eslint-plugin-github from 4.8.0 to 4.10.0

Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github) from 4.8.0 to 4.10.0.
- [Release notes](https://github.com/github/eslint-plugin-github/releases)
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.8.0...v4.10.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-github
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump prettier

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Evans <18365890+peter-evans@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2023-09-05 12:58:43 +00:00 committed by GitHub
parent 80507e9341
commit 4306b59af5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 742 additions and 44 deletions

View file

@ -83,9 +83,8 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
core.info(
`Checking if '${branchRepository}' is a fork of '${baseRemote.repository}'`
)
const parentRepository = await githubHelper.getRepositoryParent(
branchRepository
)
const parentRepository =
await githubHelper.getRepositoryParent(branchRepository)
if (parentRepository != baseRemote.repository) {
throw new Error(
`Repository '${branchRepository}' is not a fork of '${baseRemote.repository}'. Unable to continue.`