diff --git a/README.md b/README.md index d2a848e..27b34b4 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ All parameters are optional, except `github-token`. - **`github-token`** - GitHub access token, value must be `${{ github.token }}` - - Required + - Optional, defaults to `${{ github.token }}` - **`support-label`** - Label used to mark issues as support requests - Optional, defaults to `support` @@ -79,8 +79,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: dessant/support-requests@v2 - with: - github-token: ${{ github.token }} ``` ### Available input parameters @@ -101,7 +99,6 @@ jobs: steps: - uses: dessant/support-requests@v2 with: - github-token: ${{ github.token }} support-label: 'support' issue-comment: > :wave: @{issue-author}, we use the issue tracker exclusively diff --git a/action.yml b/action.yml index fe303b0..2f5fed0 100644 --- a/action.yml +++ b/action.yml @@ -4,7 +4,8 @@ author: 'Armin Sebastian' inputs: github-token: description: 'GitHub access token' - required: true + required: false + default: ${{ github.token }} support-label: description: 'Label used to mark issues as support requests' default: 'support'