Skip to content

Make secrets for third-party PRs available#49

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
rmohr:make-secrets-available
Dec 15, 2021
Merged

Make secrets for third-party PRs available#49
k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
rmohr:make-secrets-available

Conversation

@rmohr
Copy link
Copy Markdown
Contributor

@rmohr rmohr commented Dec 15, 2021

What this PR does / why we need it:

If a PR gets labeled with ok-to-test the integration test job is
triggered and this github action has access to secrets.

The github action does for security resaons not allow secrets on all
PRs, so we add this extra step.

Still, the action itself, while using a secret, does not have any
interaction points with users. The PR content is actually not even
checked out.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Also see https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ for more details and being able to judge for yourself if you consider this safe.

Release notes:

NONE

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 15, 2021
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 15, 2021
@rmohr
Copy link
Copy Markdown
Contributor Author

rmohr commented Dec 15, 2021

/cc @cchengleo

Copy link
Copy Markdown
Contributor

@cchengleo cchengleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

If a PR gets labeled with `ok-to-test` the integration test job is
triggered and this github action has access to secrets.

The github action does for security resaons not allow secrets on all
PRs, so we add this extra step.

Still, the action itself, while using a secret, does not have any
interaction points with users. The PR content is actually not even
checked out.

Signed-off-by: Roman Mohr <rmohr@redhat.com>
@rmohr rmohr force-pushed the make-secrets-available branch from bff238d to 37a448c Compare December 15, 2021 11:18
@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Dec 15, 2021
Copy link
Copy Markdown
Contributor

@cchengleo cchengleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 15, 2021
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cchengleo, rmohr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 09129f5 into kubernetes-sigs:main Dec 15, 2021
nunnatsa pushed a commit to nunnatsa/cluster-api-provider-kubevirt that referenced this pull request Nov 14, 2023
…m_2023-10-22-06-29

CNV-33675: Auto sync upstream 2023 10 22 06 29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants