Repository navigation
Conversation
…kout v7 Since v7, actions/checkout refuses fork pull request code on pull_request_target unless allow-unsafe-pr-checkout is set, so the job has failed at the Checkout step on every pull request from a fork since the bump in hashicorp#2140. The job only runs the copywrite CLI over the checkout and does not build or execute repository code. Fixes hashicorp#2193 Signed-off-by: Youssef Omar Bouden <youssef.bouden2002@gmail.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2193
actions/checkoutv7 refuses fork pull request code onpull_request_targetunlessallow-unsafe-pr-checkoutis set, soadd-copyright-headershas failed at the Checkout step on every pull request from a fork since #2140 (#2180, #2185, #2192). This sets the opt-in. The job only runs thecopywriteCLI over the checkout and does not build or execute repository code; the risk review guidance is linked next to the setting.Reverting the pull request restores the previous behavior. The alternative, running on
pull_requestand only checking withcopywrite headers --plan, is described in #2193 if the opt-in is not acceptable.PCI review checklist
Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.