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

feat(action): allow to use a custom token for cloning the repository #502

Closed
wants to merge 3 commits into from

Conversation

tyriis
Copy link

@tyriis tyriis commented Jan 13, 2024

Hi @allenporter,

I would like to add the option to pass a token for the checkout (this is required if the repository is not public)

The suggestion from @szinn in #353 does not seem to work, I have tested this one and it worked for me.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e76c0fe) 93.45% compared to head (7731153) 93.45%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #502   +/-   ##
=======================================
  Coverage   93.45%   93.45%           
=======================================
  Files          19       19           
  Lines        1972     1972           
=======================================
  Hits         1843     1843           
  Misses        129      129           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tyriis
Copy link
Author

tyriis commented Jan 13, 2024

have updated it to fallback to ${github.token} (default from the checkout action) as input is optional

@tyriis
Copy link
Author

tyriis commented Jan 13, 2024

closing this one as resolved in #353

@tyriis tyriis closed this Jan 13, 2024
@allenporter
Copy link
Owner

Thanks @tyriis for getting this moving!

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