Skip to content

chore: improve PR deployments #15430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Nov 11, 2024
Merged

chore: improve PR deployments #15430

merged 12 commits into from
Nov 11, 2024

Conversation

matifali
Copy link
Member

@matifali matifali commented Nov 7, 2024

  • create a GitHub user for the GitHub actor

matifali and others added 3 commits November 6, 2024 22:57
- Correct user creation command with proper formatting.
- Update Slack notification condition for deployment actions.
- Correct user creation command with proper formatting.
- Update Slack notification condition for deployment actions.
Copy link

github-actions bot commented Nov 7, 2024


✔️ PR 15430 Updated successfully.
🚀 Access the credentials here.

cc: @matifali

Change kube config file permission to 600 for better security and reorder
the template and workspace creation steps to after user promotion.
@matifali matifali marked this pull request as draft November 7, 2024 18:18
@matifali matifali force-pushed the atif/pr-deployment branch 4 times, most recently from 5a180ec to b5d6efe Compare November 7, 2024 19:41
- Correct user creation command with proper formatting.
- Update user role promotion to use `organization-admin`.
matifali and others added 4 commits November 11, 2024 00:32
- Use public email if available for user creation, else default.
- Ensure `GH_TOKEN` is set for the workflow.
- Move tmate debug session to trigger only on failure.
@matifali matifali marked this pull request as ready for review November 11, 2024 10:56
Copy link

@cdr-bot cdr-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main or release branch
  • ✅ Has hotfix label
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines

@matifali matifali merged commit 329e086 into main Nov 11, 2024
27 of 29 checks passed
@matifali matifali deleted the atif/pr-deployment branch November 11, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant