PavanMudigonda / jacoco-reporter

GitHub Action to Publish JaCoCo Format Code Coverage XML and attach it to the Workflow Run as a Check Run. Also can enforce Coverage Quality Gate.
https://linkedin.com/in/PavanMudigonda
MIT License
74 stars 7 forks source link

Make GitHub token optional #54

Closed josephearl closed 10 months ago

josephearl commented 10 months ago

This makes the github_token parameter optional and defaults to using the auto generated token (best practice).

From https://docs.github.com/en/actions/security-guides/automatic-token-authentication

An action can access the GITHUB_TOKEN through the github.token context even if the workflow does not explicitly pass the GITHUB_TOKEN to the action