mirror of
https://github.com/ivuorinen/actions.git
synced 2026-02-07 14:44:52 +00:00
chore: switch GITHUB_TOKEN to github.token, tweaks
This commit is contained in:
@@ -8,11 +8,11 @@ Sets Git configuration for actions.
|
||||
|
||||
### Inputs
|
||||
|
||||
| name | description | required | default |
|
||||
| ---------- | ----------------------------------- | -------- | ----------------------------- |
|
||||
| `token` | <p>GitHub token.</p> | `false` | `${{ secrets.GITHUB_TOKEN }}` |
|
||||
| `username` | <p>GitHub username for commits.</p> | `false` | `github-actions` |
|
||||
| `email` | <p>GitHub email for commits.</p> | `false` | `github-actions@github.com` |
|
||||
| name | description | required | default |
|
||||
| ---------- | ----------------------------------- | -------- | --------------------------- |
|
||||
| `token` | <p>GitHub token.</p> | `false` | `${{ github.token }}` |
|
||||
| `username` | <p>GitHub username for commits.</p> | `false` | `github-actions` |
|
||||
| `email` | <p>GitHub email for commits.</p> | `false` | `github-actions@github.com` |
|
||||
|
||||
### Outputs
|
||||
|
||||
@@ -35,7 +35,7 @@ This action is a `composite` action.
|
||||
# GitHub token.
|
||||
#
|
||||
# Required: false
|
||||
# Default: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Default: ${{ github.token }}
|
||||
|
||||
username:
|
||||
# GitHub username for commits.
|
||||
|
||||
@@ -12,7 +12,7 @@ inputs:
|
||||
token:
|
||||
description: 'GitHub token.'
|
||||
required: false
|
||||
default: '${{ secrets.GITHUB_TOKEN }}'
|
||||
default: '${{ github.token }}'
|
||||
username:
|
||||
description: 'GitHub username for commits.'
|
||||
default: 'github-actions'
|
||||
|
||||
Reference in New Issue
Block a user