github/submodule-update: Change to secrets.GITHUB_TOKEN

That works in the windows-build.yml workflow.
This commit is contained in:
Athanasius committed 2022-12-17 09:48:21 +00:00
1 parent acbb8b2294
commit e0f6f35311
1 file changed
+2 -2
+2 -2
View File
@@ -53,7 +53,7 @@ jobs:
if: steps.check_for_changes.outputs.changes == 'true'
uses: actions/github-script@v6
with:
github-token: ${{ inputs.github_token }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
script: |
await github.rest.pulls.create({
owner: '${{ inputs.owner }}',
@@ -68,7 +68,7 @@ jobs:
if: steps.check_for_changes.outputs.changes == 'true'
uses: actions/github-script@v6
with:
github-token: ${{ inputs.github_token }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
script: |
const res = await github.rest.issues.listForRepo({
owner: '${{ inputs.owner }}',