-
Notifications
You must be signed in to change notification settings - Fork 1
feat!: move all env. vars to action inputs & follow naming conventions #6
New issue
Have a question 8000 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!: move all env. vars to action inputs & follow naming conventions #6
Conversation
This change is primarily for `GITHUB_TOKEN` which is not an ENV, but part of the `secrets` context. The GH token is also available to Actions via the `github` context object which is the standard way to set a default (_the official GH action `actions/checkout` does this_).
- v2 bump - Revise inline doc comments - Remove echo step
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good! thanks
just minor changes on docs
We can levarage on this PR to changing from snak to kebab case
Co-authored-by: Micael Levi L. Cavalcante <mllc@icomp.ufam.edu.br>
No longer needed.
Applied your feedback, thanks for reviewing :)
Sure, I'll take care of that shortly 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I caught a mistake from my earlier commits, and I need your advice for the types.d.ts
file since I don't know TS and it doesn't seem like there is a test running for the PR that would verify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll merge this after testing this version locally
due to that we can circumvent that by changing that |
I'm not familiar with the REST API or testing actions locally. I guess you're just running the JS itself without the action? If you did want to locally test the action, there is
If that's what you prefer, sure 👍 |
Co-authored-by: Micael Levi L. Cavalcante <mllc@icomp.ufam.edu.br>
as the only issue so far is due to that I tested this locally with that |
@micalevisk Cheers! Do you have an ETA on the v2 release? Will it be available some time next week, or is there anything else you'd like for v2? |
@polarathene I'll test it again & release it today |
This change is primarily for
GITHUB_TOKEN
which is not an ENV, but part of thesecrets
context.The GH token is also available to Actions via the
github
context object which is the standard way to set a default (the official GH actionactions/checkout
does this).This change was motivated by #5 (comment)
As this requires a major version bump, it may also be a good time to address the naming convention for
outputs
?has_found
,issue_number
,is_closed
=>has-found
,issue-number
,is-closed
is more appropriate? (again referencing the official GH actions likeactions/checkout
, they use kebab-case, not snake_case)