We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
private-key
1 parent f4f660f commit 9bb7eb9Copy full SHA for 9bb7eb9
tests/main-private-key-with-escaped-newlines.js
@@ -0,0 +1,6 @@
1
+import { test, DEFAULT_ENV } from "./main.js";
2
+
3
+// Verify `main` successfully obtains a token when the `owner` input is not set, but the `repositories` input is set.
4
+await test(() => {
5
+ process.env['INPUT_PRIVATE-KEY'] = DEFAULT_ENV.PRIVATE_KEY.replace(/\n/g, '\\n')
6
+});
0 commit comments