1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-22 20:00:29 +03:00

github/submodule-update: Change to secrets.GITHUB_TOKEN

That works in the windows-build.yml workflow.
This commit is contained in:
Athanasius 2022-12-17 09:48:21 +00:00
parent fda81a0bb7
commit 845add1632
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

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 }}',