feat: default repo-token to github.token (#227)

* feat: default `repo-token` to `github.token`

* Update README.md

* Update labeler.ts

* Update index.js

* Update action.yml

* Update dist/index.js

* Update index.js

* Update dist/index.js
This commit is contained in:
Michaël De Boey
2023-03-07 12:25:56 +01:00
committed by GitHub
parent b3338513be
commit ba790c862c
4 changed files with 7 additions and 9 deletions

View File

@@ -3,7 +3,9 @@ description: 'Automatically label new pull requests based on the paths of files
author: 'GitHub'
inputs:
repo-token:
description: 'The GITHUB_TOKEN secret'
description: 'The GitHub token used to manage labels'
required: false
default: ${{ github.token }}
configuration-path:
description: 'The path for the label configurations'
default: '.github/labeler.yml'