chore: switch GITHUB_TOKEN to github.token, tweaks

This commit is contained in:
2025-02-05 08:57:35 +02:00
parent 0875e0e52e
commit d680369759
12 changed files with 62 additions and 55 deletions

View File

@@ -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.

View File

@@ -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'