Skip to content

Switch to official GitHub action for managing app tokens #3164

Closed

Description

@seisman

Currently, we're using the tibdex/github-app-token action to generate PAT tokens which are used in the /format slash command (initially proposed in #645 (comment)).

It seems that GitHub now provides an official action for this purpose (https://github.com/actions/create-github-app-token). I think we should try to switch to the official one. Looking at this PR (dependabot/dependabot-core#9340), it seems we just need to update the action name and the action input names.

xref:

Activity

  1. added
    maintenance
    help wanted
    on Apr 10, 2024
  2. yvonnefroehlich commented on Apr 10, 2024

    @yvonnefroehlich
    Member

    Meaning changing

    # Generate token from GenericMappingTools bot
    - uses: tibdex/github-app-token@v2
    id: generate-token
    with:
    app_id: ${{ secrets.APP_ID }}
    private_key: ${{ secrets.APP_PRIVATE_KEY }}

    to

          # Generate token from GenericMappingTools bot
          - uses: actions/create-github-app-token@v1.9
            id: generate-token
            with:
              app-id: ${{ secrets.APP_ID }}
              private-key: ${{ secrets.APP_PRIVATE_KEY }}
  3. seisman commented on Apr 10, 2024

    @seisman
    MemberAuthor

    Yes, that should work.

  4. yvonnefroehlich commented on Apr 10, 2024

    @yvonnefroehlich
    Member

    Yes, that should work.

    Thank! I summited PR #3165 with this change.

  5. added this to the 0.12.0 milestone on Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedmaintenance

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions