Skip to content

add github secret to deployment#321

Merged
dbradham merged 1 commit into
mainfrom
oriyomibadmus/test-githubautomation
Jun 25, 2026
Merged

add github secret to deployment#321
dbradham merged 1 commit into
mainfrom
oriyomibadmus/test-githubautomation

Conversation

@oriyomibadmus

Copy link
Copy Markdown
Contributor

The GitHub App credentials (GITHUB_APP_ID, GITHUB_APP_INSTALLATION_ID, GITHUB_APP_PRIVATE_KEY) are defined in the integrations secret in k8s-infra, but were never mapped to environment variables in the deployment spec. As a result, these values were undefined at runtime, causing the GitHub org invite automation to fail silently.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR maps existing GitHub App credentials from the integrations Kubernetes Secret into the Strapi deployment’s environment so the GitHub org invite automation can access them at runtime.

Changes:

  • Add GITHUB_APP_ID env var sourced from integrations secret key github-strapi-invite-new-member-app-id
  • Add GITHUB_APP_INSTALLATION_ID env var sourced from integrations secret key github-strapi-invite-new-member-app-installation-id
  • Add GITHUB_APP_PRIVATE_KEY env var sourced from integrations secret key github-strapi-invite-new-member-app-private-key

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dbradham

dbradham commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

@oriyomibadmus do you know why the build is failing here?

cc @chungthuang

@derrickshunhung derrickshunhung force-pushed the oriyomibadmus/test-githubautomation branch from 4d38e28 to 0f0e2bb Compare June 24, 2026 03:47
@derrickshunhung derrickshunhung force-pushed the oriyomibadmus/test-githubautomation branch from 0f0e2bb to ab4dc5a Compare June 24, 2026 03:57
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Health
src 65% 50%
src.api.applicant.content-types.applicant 25% 0%
src.api.applicant.controllers 100% 100%
src.api.applicant.routes 100% 100%
src.api.applicant.services 100% 100%
src.api.comment.content-types.comment 92% 50%
src.api.comment.controllers 100% 100%
src.api.comment.routes 100% 100%
src.api.comment.services 100% 100%
src.api.department.controllers 100% 100%
src.api.department.routes 100% 100%
src.api.department.services 100% 100%
src.api.dl-tal-community.controllers 100% 100%
src.api.dl-tal-community.routes 100% 100%
src.api.dl-tal-community.services 100% 100%
src.api.event.content-types.event 88% 100%
src.api.event.controllers 100% 71%
src.api.event.routes 100% 100%
src.api.event.services 100% 100%
src.api.github-repo.controllers 20% 100%
src.api.github-repo.routes 100% 100%
src.api.github-repo.services 31% 17%
src.api.google-meet.content-types.google-meet 33% 100%
src.api.google-meet.controllers 100% 100%
src.api.google-meet.routes 100% 100%
src.api.google-meet.services 100% 100%
src.api.idea-card.content-types.idea-card 87% 58%
src.api.idea-card.controllers 100% 100%
src.api.idea-card.routes 100% 100%
src.api.idea-card.services 100% 100%
src.api.image-keyword-mapping.controllers 100% 100%
src.api.image-keyword-mapping.routes 100% 100%
src.api.image-keyword-mapping.services 100% 100%
src.api.image.controllers 36% 38%
src.api.image.routes 100% 100%
src.api.image.services 6% 0%
src.api.interest.content-types.interest 17% 0%
src.api.interest.controllers 100% 100%
src.api.interest.routes 100% 100%
src.api.interest.services 100% 100%
src.api.like.controllers 100% 100%
src.api.like.routes 100% 100%
src.api.like.services 100% 100%
src.api.member.content-types.member 8% 0%
src.api.member.controllers 100% 100%
src.api.member.routes 100% 100%
src.api.member.services 100% 100%
src.api.newsletter.controllers 100% 100%
src.api.newsletter.routes 100% 100%
src.api.newsletter.services 100% 100%
src.api.notification.controllers 100% 100%
src.api.notification.policies 100% 88%
src.api.notification.routes 100% 100%
src.api.notification.services 100% 100%
src.api.onboarding-applicant.content-types.onboarding-applicant 88% 71%
src.api.onboarding-applicant.controllers 100% 100%
src.api.onboarding-applicant.routes 100% 100%
src.api.onboarding-applicant.services 100% 100%
src.api.opportunity.controllers 100% 100%
src.api.opportunity.routes 100% 100%
src.api.opportunity.services 100% 100%
src.api.profile.content-types.profile 12% 0%
src.api.profile.controllers 100% 100%
src.api.profile.routes 100% 100%
src.api.profile.services 100% 100%
src.api.project.controllers 100% 100%
src.api.project.routes 100% 100%
src.api.project.services 100% 100%
src.api.save-idea.controllers 100% 100%
src.api.save-idea.routes 100% 100%
src.api.save-idea.services 100% 100%
src.api.sendmail.controllers 100% 100%
src.api.sendmail.routes 100% 100%
src.api.sendmail.services 67% 100%
src.api.subscription.controllers 100% 100%
src.api.subscription.routes 100% 100%
src.api.subscription.services 100% 100%
src.api.team-membership.controllers 100% 100%
src.api.team-membership.routes 100% 100%
src.api.team-membership.services 100% 100%
src.api.user-recommendations.controllers 10% 0%
src.api.user-recommendations.routes 100% 100%
src.extensions.users-permissions 100% 100%
src.extensions.users-permissions.controllers 33% 100%
src.extensions.users-permissions.routes.content-api 100% 100%
src.extensions.users-permissions.server.bootstrap 100% 62%
src.extensions.users-permissions.server.middlewares 70% 59%
src.extensions.users-permissions.server.services 10% 0%
src.migrators 60% 50%
Summary 50% (377 / 758) 30% (74 / 250)

@dbradham dbradham merged commit 6609172 into main Jun 25, 2026
1 check 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.

4 participants