Skip to content

Commit 38976fa

Browse files
committed
use default github token
1 parent 3b9b4ba commit 38976fa

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
with:
2121
template: "javascript-action"
2222
env:
23-
GITHUB_TOKEN: ${{ secrets.PAT }}
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
template: 'javascript-action'
3838
env:
39-
GITHUB_TOKEN: ${{ secrets.PAT }}
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
```
4141
4242
## Input
@@ -56,7 +56,7 @@ jobs:
5656

5757
## Token
5858

59-
This action requires a `GITHUB_TOKEN` environment variable with sufficient scopes to run. The token needs to be allowed to create a commit and to push tags.
59+
This action requires a `GITHUB_TOKEN` environment variable with sufficient scopes to run. The token needs to be allowed to create a commit and to push tags. If you set `Workflow permissions` for the `GITHUB_TOKEN` that's generated by github when the pipeline runs to `Read and write permissions` in the settings of your repository, you can use that token.
6060

6161
## Content of the release
6262

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)