Skip to content

Commit ce8d088

Browse files
authored
Revert to secrets.GITHUB_TOKEN
changed back to using secrets.GITHUB_TOKEN as requested by owner
1 parent a78f019 commit ce8d088

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
steps:
4141
- uses: amannn/action-semantic-pull-request@v5
4242
env:
43-
GITHUB_TOKEN: ${{ github.token }}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
```
4545
4646
See the [event triggers documentation](#event-triggers) below to learn more about what `pull_request_target` means.
@@ -139,7 +139,7 @@ jobs:
139139
steps:
140140
- uses: amannn/action-semantic-pull-request@v5
141141
env:
142-
GITHUB_TOKEN: ${{ github.token }}
142+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
143143
with:
144144
wip: true
145145
```
@@ -199,7 +199,7 @@ jobs:
199199
- uses: amannn/action-semantic-pull-request@v5
200200
id: lint_pr_title
201201
env:
202-
GITHUB_TOKEN: ${{ github.token }}
202+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
203203
204204
- uses: marocchino/sticky-pull-request-comment@v2
205205
# When the previous steps fails, the workflow would stop. By adding this

0 commit comments

Comments
 (0)