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 github-token to github.token #7

Merged
merged 2 commits into from May 9, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Expand Up @@ -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`
Expand Down Expand Up @@ -79,8 +79,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: dessant/support-requests@v2
with:
github-token: ${{ github.token }}
```

### Available input parameters
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Expand Up @@ -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'
Expand Down