mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: author scheduled PRs using edgelessci account (#3145)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
39b01f8dac
commit
d64aba7636
@ -65,6 +65,7 @@ jobs:
|
|||||||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
token: ${{ secrets.CI_COMMIT_PUSH_PR }}
|
||||||
|
|
||||||
- name: Setup Go environment
|
- name: Setup Go environment
|
||||||
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
||||||
@ -111,6 +112,7 @@ jobs:
|
|||||||
It updates the hardcoded measurements and the image version (for QEMU/MiniConstellation).
|
It updates the hardcoded measurements and the image version (for QEMU/MiniConstellation).
|
||||||
commit-message: "image: update measurements and image version"
|
commit-message: "image: update measurements and image version"
|
||||||
committer: edgelessci <edgelessci@users.noreply.github.com>
|
committer: edgelessci <edgelessci@users.noreply.github.com>
|
||||||
|
author: 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.CI_COMMIT_PUSH_PR || '' }}
|
token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}
|
||||||
|
3
.github/workflows/update-rpms.yml
vendored
3
.github/workflows/update-rpms.yml
vendored
@ -14,6 +14,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CI_COMMIT_PUSH_PR }}
|
||||||
|
|
||||||
- name: Assume AWS role to upload Bazel dependencies to S3
|
- name: Assume AWS role to upload Bazel dependencies to S3
|
||||||
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
|
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
|
||||||
@ -49,6 +51,7 @@ jobs:
|
|||||||
It updates the locked rpm packages that form the Constellation OS images.
|
It updates the locked rpm packages that form the Constellation OS images.
|
||||||
commit-message: "image: update locked rpms"
|
commit-message: "image: update locked rpms"
|
||||||
committer: edgelessci <edgelessci@users.noreply.github.com>
|
committer: edgelessci <edgelessci@users.noreply.github.com>
|
||||||
|
author: 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.CI_COMMIT_PUSH_PR || '' }}
|
token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user