Skip to content
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

Update seed-github-enterprise-server-instance script to automatically configure Actions and Dependabot secrets for a new GHES instance #320

Merged
merged 7 commits into from
Nov 3, 2024

Conversation

timrogers
Copy link
Owner

The seed-github-enterprise-server-instance script is used to configure a new GitHub Enterprise Server (GHES) instance for integration tests.

This updates the script so that it also configures the required Actions and Dependabot secrets in CI/CD, rather than having to do this as a manual step.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 suggestion.

Files not reviewed (1)
  • package.json: Language not supported
Comments skipped due to low confidence (2)

script/seed-github-enterprise-server-instance.ts:182

  • The function encryptSecretValue is missing a return type annotation. It should be annotated for clarity and consistency.
const encryptSecretValue = ({

script/seed-github-enterprise-server-instance.ts:267

  • [nitpick] The PROJECT_OWNER and PROJECT_REPO constants are hardcoded. Consider passing these as options to the script for flexibility.
const PROJECT_OWNER = 'timrogers';

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@timrogers timrogers merged commit 2c28e65 into main Nov 3, 2024
22 of 24 checks passed
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