Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92c06b2

Browse files
committed
Fix pr-deploy user creation and role setup
- Correct user creation command with proper formatting.- Update user role promotion to use `organization-admin`.
1 parent8a146ca commit92c06b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎.github/workflows/pr-deploy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,18 +440,18 @@ jobs:
440440
--first-user-username pr${{ env.PR_NUMBER }}-admin \
441441
--first-user-email pr${{ env.PR_NUMBER }}@coder.com \
442442
--first-user-password $password \
443+
--first-user-trial=false \
443444
--use-token-as-session \
444445
https://${{ env.PR_HOSTNAME }}
445446
446447
# Create a user for the github.actor
447448
coder users create \
448-
--user ${{ github.actor }} \
449-
--password $password \
450-
--email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" \ # this will be overwritten by the user's email when they login via github
449+
--username ${{ github.actor }} \
450+
--email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" \
451451
--login-type github
452452
453453
# promote the user to admin role
454-
coder org members edit-role ${{ github.actor }}owner
454+
coder org members edit-role ${{ github.actor }}organization-admin
455455
456456
-name:Send Slack notification
457457
if:needs.get_info.outputs.NEW == 'true' || github.event.inputs.deploy == 'true'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp