Skip to content

[BUG] Dependabot PRs fail because the GitHub App token step cannot mint a token #799

Description

@lawofcycles

What is the bug?

The dependabot workflow (.github/workflows/dependabot_pr.yml) fails at the GitHub App token step with HttpError: A JSON web token could not be decoded, using the old tibdex/github-app-token action. Because no token is minted, the workflow cannot run updateSHAs or add the CHANGELOG entry and push them to the PR branch. As a result the verify-changelog check also fails with No update to CHANGELOG.md found. This blocks all Dependabot PRs.

How can one reproduce the bug?

  1. Open any Dependabot PR, for example Bump commons-codec:commons-codec from 1.21.0 to 1.22.1 in /buildSrc #796.
  2. Observe the dependabot check fails in about 6 seconds at the GitHub App token step.
  3. Observe verify-changelog fails with No update to CHANGELOG.md found.

What is the expected behavior?

The workflow mints an App token, updates the license SHAs and the CHANGELOG, and pushes them to the PR branch so the checks pass.

What is your host/environment?

GitHub Actions. Affects all Dependabot PRs on main.

Do you have any screenshots?

Not applicable.

Do you have any additional context?

Not applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions