AlbertHernandez / github-action-nodejs-template

Template for new Github Actions based on Typescript with the Best Practices and Ready to be Released
github.com/AlbertHernandez/github-action-nodejs-template
MIT License
11 stars 1 forks source link

chore(perm-dev): Updated permissions assigned to GithubToken #250

Closed actuarysailor closed 2 months ago

actuarysailor commented 2 months ago

Proposed changes

Updated the permissions needed to run this action according to the permissions it requires. Some people have the GitHub Token permissions defined in a least permissive manner, so this will allow them to fork your repo and more clearly identify inherent permissions being granted.

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

This is a super small update just granting the default github.token used by an action the correct permissions required.

AlbertHernandez commented 2 months ago

Hey @actuarysailor, thank you for the PR ❤️