Skip to content

Commit a39dc81

Browse files
Update create_repo.yaml
1 parent 8b4ccc2 commit a39dc81

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/create_repo.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
2828
- name: Create Repository
2929
uses: actions/github-script@v6
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
3032
with:
3133
script: |
3234
try {
@@ -44,6 +46,8 @@ jobs:
4446
4547
- name: Add README if requested
4648
if: env.INCLUDE_README == 'Yes'
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
4751
run: |
4852
git clone https://${{ github.actor }}:${{ secrets.GH_PAT }}@github.com/${{ github.repository_owner }}/${{ env.REPO_NAME }}.git
4953
cd ${{ env.REPO_NAME }}

0 commit comments

Comments
 (0)