Skip to content

Commit 4309749

Browse files
fix(auth-creator): Add warnings to not commit token (#12896)
* fix(auth-creator): Add warnings to not commit token * [getsentry/action-github-commit] Auto commit --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
1 parent a068299 commit 4309749

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/codeKeywords/orgAuthTokenCreator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export function OrgAuthTokenCreator() {
168168
<KeywordDropdown
169169
ref={setReferenceEl}
170170
role="button"
171-
title="Click to generate token"
171+
title="Click to generate token (DO NOT commit)"
172172
tabIndex={0}
173173
onClick={() => {
174174
handlePress();
@@ -192,7 +192,7 @@ export function OrgAuthTokenCreator() {
192192
onAnimationStart={() => setIsAnimating(true)}
193193
onAnimationComplete={() => setIsAnimating(false)}
194194
>
195-
Click to generate token
195+
Click to generate token (DO NOT commit)
196196
</Keyword>
197197
</AnimatePresence>
198198
</span>

src/components/orgAuthTokenNote.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export function OrgAuthTokenNote() {
3737
manually create an Auth Token
3838
</ExternalLink>{' '}
3939
or create a token directly from this page. A created token will only be visible
40-
once right after creation - make sure to copy it!
40+
once right after creation - make sure to copy-paste it immediately and DO NOT
41+
commit it! We recommend adding it as an environment variable.
4142
</Alert>
4243
</SignedInCheck>
4344
</Fragment>

0 commit comments

Comments
 (0)