Skip to content

Commit 7b9740f

Browse files
committed
feat: Add token args in the git tag action
1 parent d6403ae commit 7b9740f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/git-tag/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ steps:
1717
uses: NVIDIA/dsx-github-actions/.github/actions/git-tag@main
1818
with:
1919
tag: "v1.0.0"
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
2021
```
2122
2223
## Inputs
2324
2425
| Input | Description | Required | Default |
2526
| :--- | :--- | :--- | :--- |
2627
| `tag` | The tag name to create and push. | `true` | N/A |
28+
| `github_token` | GitHub token for git authentication. Use a PAT to trigger subsequent workflows. | `true` | N/A |
2729

2830
## Behavior
2931

.github/actions/git-tag/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
description: "The tag name to create and push"
66
required: true
77
github_token:
8-
description: "GitHub token for git tag"
8+
description: "GitHub token for git tag. Use a PAT to trigger subsequent workflows."
99
required: true
1010
runs:
1111
using: "composite"

0 commit comments

Comments
 (0)