ci: change push/pr token

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-02 18:07:29 +01:00
parent a34ef8ad29
commit 6cb93d66df
6 changed files with 7 additions and 7 deletions

View File

@ -69,4 +69,4 @@ jobs:
committer: edgelessci <edgelessci@users.noreply.github.com> committer: edgelessci <edgelessci@users.noreply.github.com>
labels: dependencies labels: dependencies
# We need to push changes using a token, otherwise triggers like on:push and on:pull_request won't work. # We need to push changes using a token, otherwise triggers like on:push and on:pull_request won't work.
token: ${{ !github.event.pull_request.head.repo.fork && secrets.TIDY_RENOVATE_PUSH || '' }} token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}

View File

@ -93,7 +93,7 @@ jobs:
committer: edgelessci <edgelessci@users.noreply.github.com> committer: edgelessci <edgelessci@users.noreply.github.com>
labels: no changelog labels: no changelog
# We need to push changes using a token, otherwise triggers like on:push and on:pull_request won't work. # We need to push changes using a token, otherwise triggers like on:push and on:pull_request won't work.
token: ${{ !github.event.pull_request.head.repo.fork && secrets.TIDY_RENOVATE_PUSH || '' }} token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}
prepare-release-branch: prepare-release-branch:
name: Prepare release branch name: Prepare release branch
@ -403,4 +403,4 @@ jobs:
committer: edgelessci <edgelessci@users.noreply.github.com> committer: edgelessci <edgelessci@users.noreply.github.com>
labels: no changelog labels: no changelog
# We need to push changes using a token, otherwise triggers like on:push and on:pull_request won't work. # We need to push changes using a token, otherwise triggers like on:push and on:pull_request won't work.
token: ${{ !github.event.pull_request.head.repo.fork && secrets.TIDY_RENOVATE_PUSH || '' }} token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}

View File

@ -17,7 +17,7 @@ jobs:
with: with:
path: constellation path: constellation
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }} ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
token: ${{ !github.event.pull_request.head.repo.fork && secrets.TIDY_RENOVATE_PUSH || '' }} token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}
- name: Setup Go - name: Setup Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0

View File

@ -26,7 +26,7 @@ jobs:
with: with:
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }} ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
# No token available for forks, so we can't push changes # No token available for forks, so we can't push changes
token: ${{ !github.event.pull_request.head.repo.fork && secrets.TIDY_RENOVATE_PUSH || '' }} token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}
- name: Setup Terraform - name: Setup Terraform
uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # tag=v2.0.3 uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # tag=v2.0.3

View File

@ -28,7 +28,7 @@ jobs:
with: with:
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }} ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
# No token available for forks, so we can't push changes # No token available for forks, so we can't push changes
token: ${{ !github.event.pull_request.head.repo.fork && secrets.TIDY_RENOVATE_PUSH || '' }} token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0

View File

@ -52,4 +52,4 @@ jobs:
committer: edgelessci <edgelessci@users.noreply.github.com> committer: edgelessci <edgelessci@users.noreply.github.com>
labels: no changelog labels: no changelog
# We need to push changes using a token, otherwise triggers like on:push and on:pull_request won't work. # We need to push changes using a token, otherwise triggers like on:push and on:pull_request won't work.
token: ${{ !github.event.pull_request.head.repo.fork && secrets.TIDY_RENOVATE_PUSH || '' }} token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}