Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Update docs for github integration
Tuan Dang7edebbabaa61
diff --git a/docs/integrations/cicd/githubactions.mdx b/docs/integrations/cicd/githubactions.mdxindex ad9c38f10d..10caabc2f3 100644--- a/docs/integrations/cicd/githubactions.mdx+++ b/docs/integrations/cicd/githubactions.mdx@@ -3,29 +3,14 @@ title: "GitHub Actions"description: "How to sync secrets from Infisical to GitHub Actions"----<Tabs>- <Tab title="Usage">- Infisical provides a different way to sync secrets to GitHub that can be used in Github Actions workflows.- You can sync secrets to the following GitHub scopes:-- - Repository- - Github Organization- - Repository Environment--- <Info>- To know more about usage and limitation of secrets in GitHub Actions, please visit the [Official Github documentation](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions).- </Info>+Infisical lets you sync secrets to GitHub at the organization-level, repository-level, and repository environment-level.+Prerequisites:+- Set up and add envars to [Infisical Cloud](https://app.infisical.com)+- Ensure that you have admin privileges to the repository you want to sync secrets to.- #### Prerequisites:- - Set up and add envars to [Infisical Cloud](https://app.infisical.com)- - Ensure you have admin privileges to the repository you want to sync secrets to.- - For Organizations only,- - During the oAuth ensure you gave access to the respective Organization.- - For Environment only- - Require access to the repository and create the environment under repository settings if it doesn't exist.-+<Tabs>+ <Tab title="Usage"><Steps><Step title="Authorize Infisical for GitHub">Navigate to your project's integrations tab in Infisical.@@ -42,29 +27,21 @@ description: "How to sync secrets from Infisical to GitHub Actions"</Info></Step><Step title="Configure Infisical GitHub integration">- - Select Source Project Environment that needs to be synced ( Development, Staging or Production )- - Enter Secret path ( Default to root folder `/`)- - Select a scope ( Repository, Organization, Repository Environment ) based on the scope of the repository you want to sync secrets to.+ Select which Infisical environment secrets you want to sync to which GitHub organization, repository, or repository environment.<Tabs><Tab title="Repository">- - Select one or more repositories to sync secrets to.-</Tab><Tab title="Organization">- - Select the organization to sync secrets to.-</Tab><Tab title="Repository Environment">- - Select the repository- - Select the target environment you want to sync secrets to. if you can't find the environment, create one under repository settings > Environments > New environment and try again.</Tab></Tabs>- - Once configured, press on the "Create Integration" button.+ Finally, press create integration to start syncing secrets to GitHub.</Step>