Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/__test__/input-helper.test.ts
diff options
context:
space:
mode:
authorTingluo Huang <tingluohuang@github.com>2022-04-20 21:37:43 -0400
committerGitHub <noreply@github.com>2022-04-20 21:37:43 -0400
commit5b226525b332718d26fabcfbd1830cdc32336398 (patch)
treea5936cc11c9fae7a9826aca6d252f2ec4797409d /__test__/input-helper.test.ts
parent84aef4aeee750b818c5298364848f4ba472c6f41 (diff)
Add set-safe-directory input to allow customers to take control. (#770)
* Add set-safe-directory input to allow customers to take control.
Diffstat (limited to '__test__/input-helper.test.ts')
-rw-r--r--__test__/input-helper.test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/__test__/input-helper.test.ts b/__test__/input-helper.test.ts
index a31b11c..1a8e5c9 100644
--- a/__test__/input-helper.test.ts
+++ b/__test__/input-helper.test.ts
@@ -85,6 +85,7 @@ describe('input-helper tests', () => {
expect(settings.repositoryName).toBe('some-repo')
expect(settings.repositoryOwner).toBe('some-owner')
expect(settings.repositoryPath).toBe(gitHubWorkspace)
+ expect(settings.setSafeDirectory).toBe(true)
})
it('qualifies ref', async () => {