Skip to content

Conversation

@ezzatron
Copy link
Contributor

This PR removes the need to explicitly pass a GitHub token as an action input. This helps a little to reduce the amount of configuration needed. You can still pass a different token explicitly if you want to.

GitHub's documentation on Actions doesn't really explain how to do this very clearly, but basically you have to set a default value for the token in action.yml that uses ${{ github.token }}.

For example here are some examples of GitHub's own actions that use this approach:

@Siddhantshukla814 Siddhantshukla814 merged commit e8004d1 into catchpoint:main Sep 19, 2022
@Siddhantshukla814
Copy link
Contributor

Thank you @ezzatron, for such a helpful update.

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.

2 participants