Telefonica / puppet-github-actions-runner

In This Repository you can find a module that will setup all of the files and configuration needed for GitHub Actions runner to work on Linux hosts (Ubuntu, Debian and CentOS).
Apache License 2.0
12 stars 15 forks source link

fix: default org only token url #26

Closed pdemonaco closed 3 years ago

pdemonaco commented 3 years ago

Summary

The default path for the API to retrieve the runner token was calculated incorrectly including 'repos' instead of 'orgs' which causes the token retrieval to fail.

I'm guessing at some point github changed their API from https://api.github.com/**repos**/$org_name/ to https://api.github.com/**orgs**/$org_name/ which broke the behavior of the token_url when no repo is specified.

Fix Details

mrodm commented 3 years ago

Closing this PR in favor of #32