Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use github API URL #520

Merged
merged 3 commits into from Jul 19, 2023
Merged

Conversation

mzuehlke
Copy link
Member

@mzuehlke mzuehlke commented Jul 11, 2023

Fixes the secretOrPrivateKey must be an asymmetric key error
using the workaround from octokit/auth-app.js#465 (comment)

fixes: #517
closes: #521

* use the given URL to get tokens
* use the variable `github.api_url` as default value (https://docs.github.com/en/actions/learn-github-actions/contexts)
github-actions bot added a commit that referenced this pull request Jul 11, 2023
@alejandrohdezma
Copy link
Member

@mzuehlke are you able to test it works using the snapshot version?

@mzuehlke
Copy link
Member Author

I divided my internal working version into the 2 PRs: #520 and #521
That version is working for me 🚀

github-actions bot added a commit that referenced this pull request Jul 14, 2023
@mzuehlke
Copy link
Member Author

I added the changes from my 2nd and much smaller PR here, than I can test the snapshot.

@mzuehlke
Copy link
Member Author

I could very this snapshot on our on-prem runners 👍

@github-actions
Copy link
Contributor

Code Coverage

Package Line Rate Branch Rate Complexity Health
core 100% 100% 0
modules 69% 86% 0
Summary 70% (464 / 661) 87% (76 / 87) 0

github-actions bot added a commit that referenced this pull request Jul 19, 2023
@github-actions
Copy link
Contributor

A snapshot release has been created as snapshots/520.

You can test it out with:

uses: scala-steward-org/scala-steward-action@snapshots/520

It will be automatically recreated on any change to this PR.

@alejandrohdezma alejandrohdezma merged commit fe5e879 into scala-steward-org:master Jul 19, 2023
2 checks passed
@mzuehlke mzuehlke deleted the github-api-url branch July 19, 2023 12:25
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.

Enable usage on Github Enterprise
2 participants