The action requires a permission to push to the branch.
permissions:
id-token: write| Input | Description | Default |
|---|---|---|
| token | GitHub token | github.token |
| tag | Tag | |
| dry-run | Whether it is a dry-run | "false" |
GitHub token.
Default value: unset
Tag to be set on the empty commit.
Example: "3.76.1"
Default value: unset
Whether it is a dry-run. The action won't push to the branch if dry-run is set to "true".
Default value: "false"
name: Tag the branch as 3.72.3
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: stackrox/actions/release/tag@main
with:
tag: 3.72.3