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 @@ Creates a release for the current month, incrementing patch number if necessary.
### Inputs
| name | description | required | default |
| --------- | -------------------------------------------------------- | -------- | ------- |
| `token` | <p>GitHub token with permission to create releases.</p> | `true` | `""` |
| `dry-run` | <p>Run in dry-run mode without creating the release.</p> | `false` | `false` |
| `prefix` | <p>Optional prefix for release tags.</p> | `false` | `""` |
| name | description | required | default |
| --------- | -------------------------------------------------------- | -------- | --------------------- |
| `token` | <p>GitHub token with permission to create releases.</p> | `true` | `${{ github.token }}` |
| `dry-run` | <p>Run in dry-run mode without creating the release.</p> | `false` | `false` |
| `prefix` | <p>Optional prefix for release tags.</p> | `false` | `""` |
### Outputs
@@ -35,7 +35,7 @@ This action is a `composite` action.
# GitHub token with permission to create releases.
#
# Required: true
# Default: ""
# Default: ${{ github.token }}
dry-run:
# Run in dry-run mode without creating the release.

View File

@@ -12,6 +12,7 @@ inputs:
token:
description: 'GitHub token with permission to create releases.'
required: true
default: '${{ github.token }}'
dry-run:
description: 'Run in dry-run mode without creating the release.'
required: false