Skip to content

Commit 4c77bb3

Browse files
committed
docs: Warn against plain-text passwords in workflows
1 parent 49efc2c commit 4c77bb3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/actions/auth/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Log in using Playwright, then write authenticated session state to a file for re
1818

1919
**Required** Password.
2020

21+
> [!IMPORTANT]
22+
> Don’t put passwords in your workflow as plain text; instead reference a [repository secret](https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets#creating-secrets-for-a-repository).
23+
2124
### Outputs
2225

2326
#### `session_state_path`

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ If access to a page requires logging-in first, and logging-in requires only a us
111111

112112
If your login flow is more complex—if it requires two-factor authentication, single sign-on, passkeys, etc.–and you have a custom action that [authenticates with Playwright](https://playwright.dev/docs/auth) and persists authenticated session state to a file, then provide the `session_state_path` input. (If `session_state_path` is provided, `login_url`, `username`, and `password` will be ignored.)
113113

114+
> [!IMPORTANT]
115+
> Don’t put passwords in your workflow as plain text; instead reference a [repository secret](https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets#creating-secrets-for-a-repository).
116+
114117
---
115118

116119
## Configuring Copilot

0 commit comments

Comments
 (0)