We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ref
main
1 parent e7c7b68 commit 661a8fbCopy full SHA for 661a8fb
pr-checks/sync-checks.ts
@@ -224,6 +224,7 @@ async function main(): Promise<void> {
224
// The git ref for which to retrieve the check runs.
225
ref: {
226
type: "string",
227
+ default: "main",
228
},
229
// By default, we perform a dry-run. Setting `apply` to `true` actually applies the changes.
230
apply: {
@@ -242,9 +243,6 @@ async function main(): Promise<void> {
242
243
if (options.token === undefined) {
244
throw new Error("Missing --token");
245
}
- if (options.ref === undefined) {
246
- throw new Error("Missing --ref");
247
- }
248
249
console.info(
250
`Oldest supported major version is: ${OLDEST_SUPPORTED_MAJOR_VERSION}`,
0 commit comments