build(deps): bump actions/create-github-app-token from 3.1.1 to 3.2.0#17
build(deps): bump actions/create-github-app-token from 3.1.1 to 3.2.0#17dependabot[bot] wants to merge 3 commits into
Conversation
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 3.1.1 to 3.2.0. - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md) - [Commits](actions/create-github-app-token@1b10c78...bcd2ba4) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
|
The i18n check failed because translation messages are out of sync. This usually happens when you've added or modified translation strings in your code but haven't updated the translation file. Please run |
| await axios.post( | ||
| endpoint, | ||
| notificationPayload, | ||
| NOTIFICATION_HTTP_OPTIONS | ||
| ); |
| >('/:id', async (req, res, next) => { | ||
| const parsedAuthorId = parseOpenLibraryAuthorId(req.params.id); | ||
| if ('error' in parsedAuthorId) { | ||
| return res.status(404).json({ status: 404, message: 'Author not found' }); | ||
| } | ||
|
|
||
| const authorId = parsedAuthorId.value; | ||
| const limit = parsePositiveInt(req.query.limit, 20, 100); | ||
| const offset = parseNonNegativeInt(req.query.offset); | ||
| const openLibrary = new OpenLibraryAPI(); | ||
| const authorId = parsedAuthorId.value; | ||
| const limit = parsePositiveInt(req.query.limit, 20, 100); | ||
| const offset = parseNonNegativeInt(req.query.offset); | ||
| const openLibrary = new OpenLibraryAPI(); | ||
|
|
||
| try { | ||
| const [author, worksPayload] = await Promise.all([ | ||
| openLibrary.getAuthor(authorId), | ||
| getAuthorWorksPayload(authorId, limit, offset, req.user?.id), | ||
| ]); | ||
| const biography = | ||
| typeof author.bio === 'string' ? author.bio : author.bio?.value; | ||
| const normalizedAuthorId = author.key.replace('/authors/', ''); | ||
| try { | ||
| const [author, worksPayload] = await Promise.all([ | ||
| openLibrary.getAuthor(authorId), | ||
| getAuthorWorksPayload(authorId, limit, offset, req.user?.id), | ||
| ]); | ||
| const biography = | ||
| typeof author.bio === 'string' ? author.bio : author.bio?.value; | ||
| const normalizedAuthorId = author.key.replace('/authors/', ''); | ||
|
|
||
| return res.status(200).json({ | ||
| id: normalizedAuthorId, | ||
| name: author.name, | ||
| biography, | ||
| birthDate: author.birth_date, | ||
| deathDate: author.death_date, | ||
| posterPath: author.photos?.[0] | ||
| ? `https://covers.openlibrary.org/a/id/${author.photos[0]}-L.jpg` | ||
| : undefined, | ||
| works: worksPayload.works.map((work) => ({ | ||
| ...work, | ||
| author: author.name, | ||
| authorId: normalizedAuthorId, | ||
| })), | ||
| pagination: worksPayload.pagination, | ||
| }); | ||
| } catch (e) { | ||
| logger.error('Failed to retrieve author details', { | ||
| label: 'Author', | ||
| errorMessage: e instanceof Error ? e.message : 'Unknown error', | ||
| authorId, | ||
| }); | ||
| return next({ | ||
| status: 500, | ||
| message: 'Unable to retrieve author details.', | ||
| }); | ||
| } | ||
| return res.status(200).json({ | ||
| id: normalizedAuthorId, | ||
| name: author.name, | ||
| biography, | ||
| birthDate: author.birth_date, | ||
| deathDate: author.death_date, | ||
| posterPath: author.photos?.[0] | ||
| ? `https://covers.openlibrary.org/a/id/${author.photos[0]}-L.jpg` | ||
| : undefined, | ||
| works: worksPayload.works.map((work) => ({ | ||
| ...work, | ||
| author: author.name, | ||
| authorId: normalizedAuthorId, | ||
| })), | ||
| pagination: worksPayload.pagination, | ||
| }); | ||
| } catch (e) { | ||
| logger.error('Failed to retrieve author details', { | ||
| label: 'Author', | ||
| errorMessage: e instanceof Error ? e.message : 'Unknown error', | ||
| authorId, | ||
| }); | ||
| return next({ | ||
| status: 500, | ||
| message: 'Unable to retrieve author details.', | ||
| }); | ||
| } | ||
| ); | ||
| }); |
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
Closed as superseded: the same pinned GitHub Action upgrade from this PR has been applied directly on main in f4a0590 after resolving workflow conflicts. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
|
The i18n check failed because translation messages are out of sync. This usually happens when you've added or modified translation strings in your code but haven't updated the translation file. Please run |
Bumps actions/create-github-app-token from 3.1.1 to 3.2.0.
Release notes
Sourced from actions/create-github-app-token's releases.
Changelog
Sourced from actions/create-github-app-token's changelog.
Commits
bcd2ba4chore(main): release 3.2.0 (#370)f24bbd8fix: validate private-key input (#376)363531bdocs: capitalize Git as a proper noun in README (#374)fd28011docs: update procedure to configure Git (#287)85eb8ddfeat: support full repository names inrepositoriesinput (#372)c9aabb8build(deps-dev): bump yaml from 2.8.3 to 2.8.4 in the development-dependencie...e02e816build(deps-dev): bump undici from 7.24.6 to 8.2.0 (#366)8d835bfbuild(deps-dev): bump esbuild from 0.27.4 to 0.28.0 in the development-depend...952a2a7feat: add support for enterprise-level GitHub Apps (#263)43e5c34fix(deps): bump@actions/corefrom 3.0.0 to 3.0.1 in the production-dependenc...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)