Skip to content

Commit

Permalink
feat: default gh-token (#28)
Browse files Browse the repository at this point in the history
* feat: default gh-token

* chore: update readme guide

* chore: bump version

* chore: remove unused file and lint
  • Loading branch information
brenoepics authored Oct 2, 2024
1 parent 4f56043 commit 3afc445
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12,994 deletions.
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/vmd-action@v0.0.4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
uses: brenoepics/vmd-action@v0.0.5
# 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

0 comments on commit 3afc445

Please sign in to comment.