Skip to content

Commit 03c7226

Browse files
committed
use github.token instead of secrets.GITHUB_TOKEN in examples
1 parent 755b28a commit 03c7226

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
uses: cloudnode-pro/[email protected]
1313
with:
1414
# See the ‘Inputs’ section below for details.
15-
gh-token: ${{ secrets.GITHUB_TOKEN }}
15+
gh-token: ${{ github.token }}
1616
release-id: 123456 # Optional for `release` events.
1717
files: |
1818
path/to/file.txt; type=text/plain; name=File1.txt
@@ -25,7 +25,7 @@ steps:
2525

2626
The GitHub token to use for authentication.
2727

28-
If you are uploading to a release in the same repository, you can use `${{secrets.GITHUB_TOKEN}}`, which is a secret
28+
If you are uploading to a release in the same repository, you can use `${{github.token}}`, which is a secret
2929
generated by the workflow. Otherwise, you need to manually create a token, save it as a repository secret, and pass it
3030
using `${{secrets.NAME_OF_SECRET}}`.
3131

0 commit comments

Comments
 (0)