mirror of
https://github.com/actions/checkout.git
synced 2026-07-10 21:05:06 +08:00
backport allow-unsafe-pr-checkout to v4 (#2502)
Some checks failed
Build and Test / test-proxy (push) Failing after 34s
Build and Test / test-git-container (push) Failing after 10s
Build and Test / test-output (push) Successful in 31s
Build and Test / test-bypass-proxy (push) Failing after 53s
Build and Test / test (ubuntu-latest) (push) Failing after 1m47s
Build and Test / build (push) Failing after 3m3s
Build and Test / test (macos-latest) (push) Has been cancelled
Build and Test / test (windows-latest) (push) Has been cancelled
Some checks failed
Build and Test / test-proxy (push) Failing after 34s
Build and Test / test-git-container (push) Failing after 10s
Build and Test / test-output (push) Successful in 31s
Build and Test / test-bypass-proxy (push) Failing after 53s
Build and Test / test (ubuntu-latest) (push) Failing after 1m47s
Build and Test / build (push) Failing after 3m3s
Build and Test / test (macos-latest) (push) Has been cancelled
Build and Test / test (windows-latest) (push) Has been cancelled
* block checking out fork pr for pull_request_target and workflow_run (#2454) * block checking out fork pr for some events * address copilot and reviewer feedback * run prettier formatting * build * update urls * update readme * update description and url again * edit url one more time * update error wording (#2467)
This commit is contained in:
@@ -91,6 +91,7 @@ describe('input-helper tests', () => {
|
||||
expect(settings.repositoryOwner).toBe('some-owner')
|
||||
expect(settings.repositoryPath).toBe(gitHubWorkspace)
|
||||
expect(settings.setSafeDirectory).toBe(true)
|
||||
expect(settings.allowUnsafePrCheckout).toBe(false)
|
||||
})
|
||||
|
||||
it('qualifies ref', async () => {
|
||||
|
||||
Reference in New Issue
Block a user