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

feat: default gh-token #28

Merged
merged 4 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ jobs:
node-version: '20'

- name: Vue Mess Detector Analysis
uses: brenoepics/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
uses: brenoepics/[email protected]
# with:
# check inputs for full args list

```
Expand Down
12 changes: 11 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,18 @@ branding:
color: "green"
inputs:
github-token:
description: "GitHub token for commenting on pull requests"
description: >
Personal access token (PAT) used to fetch the repository. The PAT is
configured with the local git config, which enables your scripts to run
authenticated git commands. The post-job step removes the PAT.

We recommend using a service account with the least permissions necessary.
Also when generating a new PAT, select the least scopes necessary.

[Learn more about creating and using encrypted
secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
required: false
default: ${{ github.token }}
version:
description: "Version of Vue Mess Detector"
required: true
Expand Down
Loading