Skip to content

Commit 39420b7

Browse files
committed
docs: Elaborate on how the Auth action works internally
1 parent 0a0afcc commit 39420b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/auth/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ export default async function () {
4343
core.info("Navigating to login page");
4444
await page.goto(loginUrl);
4545

46-
// Check for a login form
46+
// Check for a login form.
47+
// If no login form is found, then either HTTP Basic auth succeeded, or the page does not require authentication.
48+
core.info("Checking for login form");
4749
const [usernameField, passwordField] = await Promise.all([
4850
page.getByLabel(/username/i).first(),
4951
page.getByLabel(/password/i).first(),

0 commit comments

Comments
 (0)