File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -429,8 +429,6 @@ jobs:
429
429
run : |
430
430
set -euo pipefail
431
431
432
- # Create first user
433
-
434
432
# create a masked random password 12 characters long
435
433
password=$(openssl rand -base64 16 | tr -d "=+/" | cut -c1-12)
436
434
@@ -447,18 +445,14 @@ jobs:
447
445
https://${{ env.PR_HOSTNAME }}
448
446
449
447
# Create a user for the github.actor
450
- # Try to fetch the public email if it is set otherwise fallback to a default one
451
- EMAIL=$(gh api /user/${{ github.actor }} | jq -r '.email')
452
- if [ -z "$EMAIL" ]; then
453
- EMAIL="${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
454
- fi
455
- coder users create \
456
- --username ${{ github.actor }} \
457
- --email "$EMAIL" \
458
- --login-type github
448
+ # TODO: update once https://github.com/coder/coder/issues/15466 is resolved
449
+ # coder users create \
450
+ # --username ${{ github.actor }} \
451
+ # --login-type github
459
452
460
453
# promote the user to admin role
461
- coder org members edit-role ${{ github.actor }} organization-admin
454
+ # coder org members edit-role ${{ github.actor }} organization-admin
455
+ # TODO: update once https://github.com/coder/internal/issues/207 is resolved
462
456
463
457
- name : Send Slack notification
464
458
if : needs.get_info.outputs.NEW == 'true' || github.event.inputs.deploy == 'true'
You can’t perform that action at this time.
0 commit comments