Skip to content

Commit 58310f8

Browse files
committed
update environment variable
1 parent 731ff7c commit 58310f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/update-release-notes/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
- name: Clone fork of docs repo
1717
shell: bash
1818
run: |
19-
git clone https://x-access-token:${{ secrets.PAT }}@github.com/moo-team/docs.git
19+
git clone https://x-access-token:${{ env.PAT }}@github.com/moo-team/docs.git
2020
cd docs
2121
git config user.name "github-actions[bot]"
2222
git config user.email "github-actions[bot]@users.noreply.github.com"
@@ -39,7 +39,7 @@ runs:
3939
- name: Create Pull Request
4040
shell: bash
4141
env:
42-
GH_TOKEN: ${{ secrets.PAT }}
42+
GH_TOKEN: ${{ env.PAT }}
4343
run: |
4444
gh pr create \
4545
--repo mendix/docs \

0 commit comments

Comments
 (0)