Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request Target #16

Merged
merged 1 commit into from
Oct 14, 2020
Merged

Pull Request Target #16

merged 1 commit into from
Oct 14, 2020

Conversation

nebhale
Copy link
Member

@nebhale nebhale commented Oct 14, 2020

Previously, the actions tied to pull requests executed on the pull_request event, which resulted in them not having access to the secrets required for them to execute. At the beginning of August, GitHub added the pull_request_target event which operates in a similar way except only actions in the base commit would execute ensuring that it was safe to expose secrets. This change updates the pull request actions to use pull_request_target, ensuring that they are always functional.

Previously, the actions tied to pull requests executed on the pull_request
event, which resulted in them not having access to the secrets required for
them to execute.  At the beginning of August, GitHub added the
pull_request_target event which operates in a similar way except only actions
in the base commit would execute ensuring that it was safe to expose secrets.
This change updates the pull request actions to use pull_request_target,
ensuring that they are always functional.

Signed-off-by: Ben Hale <bhale@vmware.com>
@nebhale nebhale requested a review from a team October 14, 2020 13:38
@nebhale nebhale added semver:patch A change requiring a patch version bump type:task A general task labels Oct 14, 2020
@nebhale nebhale closed this Oct 14, 2020
@nebhale nebhale reopened this Oct 14, 2020
@nebhale nebhale merged commit 23ac8aa into main Oct 14, 2020
@nebhale nebhale deleted the pull-request-target branch October 14, 2020 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant