You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return"", "", fmt.Errorf("values for %q and %q are not in env. If running from CI, please add values via ci.yaml file", actionsHeadRefKey, actionsBaseRefKey)
50
+
} elseifheadRef=="" {
51
+
return"", "", fmt.Errorf("value for %q is not in env. If running from CI, please add value via ci.yaml file", actionsHeadRefKey)
52
+
} elseifbaseRef=="" {
53
+
return"", "", fmt.Errorf("value for %q is not in env. If running from CI, please add value via ci.yaml file", actionsBaseRefKey)
54
+
}
55
+
56
+
returnheadRef, baseRef, nil
57
+
}
58
+
59
+
// CoderEmployees represents all members of the Coder GitHub organization. This
60
+
// value should not be instantiated from outside the package, and should instead
61
+
// be created via one of the package's exported functions.
62
+
typeCoderEmployeesstruct {
63
+
// Have map defined as private field to make sure that it can't ever be
64
+
// mutated from an outside package
65
+
_employeesmap[string]struct{}
66
+
}
67
+
68
+
// IsEmployee takes a GitHub username and indicates whether the matching user is
0 commit comments