Use the official GitHub Action to obtain installation access tokens#9
Merged
Use the official GitHub Action to obtain installation access tokens#9
Conversation
When I committed the first workflow in e84a016 (Add a workflow to synchronize refs from git/git to gitgitgadget/git, 2023-08-18), I had missed the first public release of `actions/create-github-app-token` by _mere days_: The first version of that GitHub Action to be officially published to the GitHub Marketplace was v1.1.0, on August 22nd, 2023: https://github.com/actions/create-github-app-token/releases/tag/v1.1.0, i.e. a mere 4 days after I had committed the initial version of the `sync-ref` workflow. That was the reason why, when I scoured around for a GitHub Action that could be used to obtain an installation access token, I only found a third-party one. I don't exactly remember how I got aware of the official Action provided by GitHub itself, but I know that I immediately opened #5 so that I wouldn't forget to eventually migrate to that Action. This commit is it. With this, we switch from that 3rd-party Action to the official GitHub one. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
mjcheetham
approved these changes
Mar 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses #5.
I verified that this works as intended by (temporarily) mirroring Git for Windows'
shears/seenbranch togitgitgadget/git(and I immediately deleted it because it is not needed there).