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

Update to support GITHUB_TOKEN #29

Merged
merged 20 commits into from
Oct 6, 2021
Merged

Conversation

datapolitical
Copy link
Contributor

Using a personal access token is strongly discouraged by GITHUB because it is a serious security risk. This PR updates the action to use the standard GITHUB_TOKEN which can be limited in scope and is re-generated after each workflow run.

I have tested it on my own repository using a GH_TOKEN and a GITHUB_TOKEN and it works for both, so existing users will not be required to update their code if they do not want to.

@jeffreytse jeffreytse self-assigned this Oct 4, 2021
Copy link
Owner

@jeffreytse jeffreytse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ACTOR variable has been defined, we should keep use it, and its default value is the same as GITHUB_ACTION.

@jeffreytse jeffreytse added the enhancement New feature or request label Oct 5, 2021
perf: revise actor variable
Copy link
Owner

@jeffreytse jeffreytse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now the input variable ACTOR is right for its intention.

@jeffreytse jeffreytse merged commit 4d5e358 into jeffreytse:master Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants