Skip to content

Commit d34d407

Browse files
committed
fix merge issue and add extra env
1 parent e25188f commit d34d407

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/add-preview-links.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ on:
22
workflow_call:
33
pull_request:
44

5-
# env:
6-
# GH_TOKEN: ${{ secrets.API_TOKEN_GITHUB }} # setting GH_TOKEN for the entire workflow
5+
env:
6+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # setting GH_TOKEN for the entire workflow
77

88
jobs:
99
get-pr-changes:
@@ -25,10 +25,5 @@ jobs:
2525
git status
2626
gh pr status
2727
gh pr list
28-
#links_action
29-
#master
30-
#refs/pull/789/merge
31-
#gh pr checkout $BRANCH
32-
33-
env:
34-
GH_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
28+
env:
29+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)