Skip to content

Add support for using GitHub app with automatic token refresh#24

Open
uroshercog wants to merge 2 commits intothe-actions-org:masterfrom
uroshercog:master
Open

Add support for using GitHub app with automatic token refresh#24
uroshercog wants to merge 2 commits intothe-actions-org:masterfrom
uroshercog:master

Conversation

@uroshercog
Copy link

Hello,

we started using this action and find it very useful except that if we use a GitHub App token it terminated after 1h because of the token expiration which cannot be changed.

This PR introduces a way to pass app credentials to the action and use the Octokit library which automatically refreshes the token in the back.

The implementation should be backwards compatible.

Happy to address any concerns because we'd really like this feature to land :)

@AnthonyBarbier
Copy link

We've bumped in exactly the same issue, and are looking forward to this PR getting reviewed and hopefully merged 🙏

Co-authored-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants