chore: Enable persisting credentials in GitHub workflows

This commit is contained in:
Mauro Balades
2024-08-07 00:26:41 +02:00
parent cd234259f7
commit 8005aa1f43
4 changed files with 5 additions and 3 deletions

View File

@@ -191,6 +191,7 @@ jobs:
# needs: [build-data]
# permissions:
# contents: write
# secrets: inherit
# with:
# build-version: ${{ needs.build-data.outputs.version }}
# generate-gpo: true
@@ -201,6 +202,7 @@ jobs:
# uses: ./.github/workflows/windows-profile-build.yml
# permissions:
# contents: write
# secrets: inherit
# needs: [windows-step-1, build-data]
# with:
# build-version: ${{ needs.build-data.outputs.version }}
@@ -211,6 +213,7 @@ jobs:
uses: ./.github/workflows/windows-alpha-build.yml
permissions:
contents: write
secrets: inherit
needs: [build-data]
with:
build-version: ${{ needs.build-data.outputs.version }}
@@ -221,6 +224,7 @@ jobs:
uses: ./.github/workflows/linux-alpha-build.yml
permissions:
contents: write
secrets: inherit
needs: [build-data]
with:
build-version: ${{ needs.build-data.outputs.version }}
@@ -230,6 +234,7 @@ jobs:
uses: ./.github/workflows/macos-alpha-build.yml
permissions:
contents: write
secrets: inherit
needs: [build-data]
with:
build-version: ${{ needs.build-data.outputs.version }}

View File

@@ -27,7 +27,6 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
persist-credentials: true
# Give the runner some swap space in an attempt to stop gkrust from crashing the build

View File

@@ -34,7 +34,6 @@ jobs:
with:
submodules: recursive
persist-credentials: true
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup git
run: |

View File

@@ -32,7 +32,6 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
persist-credentials: true