Skip to content

Update actions/create-github-app-token action to v2#422

Merged
gjtorikian merged 1 commit intomainfrom
renovate/actions-create-github-app-token-2.x
Feb 3, 2026
Merged

Update actions/create-github-app-token action to v2#422
gjtorikian merged 1 commit intomainfrom
renovate/actions-create-github-app-token-2.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 2, 2026

This PR contains the following updates:

Package Type Update Change
actions/create-github-app-token action major v1v2

Release Notes

actions/create-github-app-token (actions/create-github-app-token)

v2

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner February 2, 2026 19:17
@renovate renovate bot requested review from nicknisi and removed request for a team February 2, 2026 19:17
@greptile-apps
Copy link

greptile-apps bot commented Feb 2, 2026

Greptile Overview

Greptile Summary

This PR upgrades actions/create-github-app-token from v1 to v2 in both workflow files. The v2 action maintains backward compatibility with the same inputs (app-id and private-key) and outputs (token), ensuring no breaking changes to the existing workflows.

  • Both release.yml and version-bump.yml workflows updated consistently
  • All action configurations remain unchanged (app-id and private-key inputs)
  • Token generation pattern continues to work as before
  • No functional changes to workflow logic

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk - it's a straightforward dependency update with no breaking changes
  • The upgrade from v1 to v2 of actions/create-github-app-token maintains full backward compatibility with identical inputs and outputs, both workflow files are updated consistently, and the change only affects GitHub Actions infrastructure with no code or logic changes
  • No files require special attention - both workflow updates are identical and straightforward

Important Files Changed

Filename Overview
.github/workflows/release.yml Updated actions/create-github-app-token from v1 to v2, maintaining the same configuration with app-id and private-key inputs
.github/workflows/version-bump.yml Updated actions/create-github-app-token from v1 to v2, maintaining the same configuration with app-id and private-key inputs

Sequence Diagram

sequenceDiagram
    participant User
    participant VersionBumpWorkflow as Version Bump Workflow
    participant ReleaseWorkflow as Release Workflow
    participant AppTokenAction as create-github-app-token@v2
    participant GitHubAPI as GitHub API
    participant RubyGems

    User->>VersionBumpWorkflow: Trigger workflow_dispatch
    VersionBumpWorkflow->>AppTokenAction: Generate token (app-id, private-key)
    AppTokenAction->>GitHubAPI: Request token using App credentials
    GitHubAPI-->>AppTokenAction: Return GitHub App token
    AppTokenAction-->>VersionBumpWorkflow: token output
    VersionBumpWorkflow->>GitHubAPI: Checkout code with token
    VersionBumpWorkflow->>VersionBumpWorkflow: Bump version in version.rb
    VersionBumpWorkflow->>GitHubAPI: Create PR with version-bump label

    User->>GitHubAPI: Merge PR
    GitHubAPI->>ReleaseWorkflow: Trigger on PR closed (merged)
    ReleaseWorkflow->>AppTokenAction: Generate token (app-id, private-key)
    AppTokenAction->>GitHubAPI: Request token using App credentials
    GitHubAPI-->>AppTokenAction: Return GitHub App token
    AppTokenAction-->>ReleaseWorkflow: token output
    ReleaseWorkflow->>GitHubAPI: Checkout code with token
    ReleaseWorkflow->>GitHubAPI: Create GitHub Release
    ReleaseWorkflow->>ReleaseWorkflow: Run tests & build gem
    ReleaseWorkflow->>RubyGems: Publish gem
Loading

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@gjtorikian gjtorikian merged commit 20d3f82 into main Feb 3, 2026
4 checks passed
@gjtorikian gjtorikian deleted the renovate/actions-create-github-app-token-2.x branch February 3, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant