Secrets are encrypted variables that you create in an organization, repository, or repository environment. The secrets that you create are available to use in GitHub Actions workflows. For secrets stored at the organization-level, you can use access policies to control which repositories can use organization secrets. Organization-level secrets let you share secrets between multiple repositories, which reduces the need for creating duplicate secrets. Updating an organization secret in one location also ensures that the change takes effect in all repository workflows that use that secret.For secrets stored at the environment level, you can enable required reviewers to control access to the secrets. A workflow job cannot access environment secrets until approval is granted by required approvers.
Names can only contain alphanumeric characters ([a-z], [A-Z], [0-9]) or underscores (_). Spaces are not allowed.
Names must not start with the GITHUB_ prefix.
Names must not start with a number.
Names are not case-sensitive.
Names must be unique at the level they are created at.For example, a secret created at the environment level must have a unique name in that environment, a secret created at the repository level must have a unique name in that repository, and a secret created at the organization level must have a unique name at that level.If a secret with the same name exists at multiple levels, the secret at the lowest level takes precedence. For example, if an organization-level secret has the same name as a repository-level secret, then the repository-level secret takes precedence. Similarly, if an organization, repository, and environment all have a secret with the same name, the environment-level secret takes precedence.
To help ensure that GitHub redacts your secret in logs, avoid using structured data as the values of secrets. For example, avoid creating secrets that contain JSON or encoded Git blobs.
To make a secret available to an action, you must set the secret as an input or environment variable in the workflow file. Review the action’s README file to learn about which inputs and environment variables the action expects. For more information, see “Workflow syntax for GitHub Actions.”You can use and read encrypted secrets in a workflow file if you have access to edit the file. For more information, see “Access permissions on GitHub.”Warning: GitHub automatically redacts secrets printed to the log, but you should avoid printing secrets to the log intentionally.Organization and repository secrets are read when a workflow run is queued, and environment secrets are read when a job referencing the environment starts.You can also manage secrets using the REST API. For more information, see “Actions.”
Go to the integrations dashboard in your envsecrets organisation and under “Github Actions” choose “Sync New Environment With Your Github Actions Account.”
In the page that opens, select your envsecrets project, environment and your Github repository where you wish to push/sync your secrets.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"envsecrets","colors":{"primary":"#148BF2","light":"#148BF2","dark":"#0D001D"},"favicon":"./static/favicon.svg","logo":null,"background":{"decoration":null,"color":{"light":null,"dark":"#090014"}},"navbar":{"links":[{"label":"Support","href":"mailto:[email protected]"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.envsecrets.com"}},"footer":{"socials":{"discord":"https://discord.gg/4YaTFZ2xBA","github":"https://github.com/envsecrets/envsecrets","twitter":"https://twitter.com/envsecrets","linkedin":"https://www.linkedin.com/company/envsecrets"}},"navigation":{"global":{"anchors":[{"anchor":"Documentation","href":"https://docs.envsecrets.com","icon":"book-open-cover"},{"anchor":"Repository","href":"https://github.com/envsecrets/envsecrets","icon":"github"},{"anchor":"Community","href":"https://discord.gg/4YaTFZ2xBA","icon":"discord"},{"anchor":"Issues \u0026 Discussions","href":"https://github.com/orgs/envsecrets/discussions","icon":"code-pull-request"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"envsecrets-91","hasAudioNarration":false,"actualSubdomain":"envsecrets-91","customDomains":["docs.envsecrets.com"],"gitSource":{"type":"github","owner":"envsecrets","repo":"mintlify","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"issues":true},"entitlements":{},"buildId":"6ae91d41c02c8f1beff4b2b6:success","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Command Line","count":12},{"language":"default","tag":"Commands","count":11},{"language":"default","tag":"Integrations","count":11},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Security","count":4},{"language":"default","tag":"Concepts","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"integrations/github","slug":"/integrations/github","pageMetadata":{"title":"Github Actions","description":"How to continuously sync your secrets with Github Actions.","href":"/integrations/github"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to continuously sync your secrets with Github Actions.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`about-github-secrets`,children:`About Github Secrets`}),`\n`,_jsx(_components.p,{children:`Secrets are encrypted variables that you create in an organization, repository, or repository environment. The secrets that you create are available to use in GitHub Actions workflows. `}),`\n`,_jsx(_components.p,{children:`For secrets stored at the organization-level, you can use access policies to control which repositories can use organization secrets. Organization-level secrets let you share secrets between multiple repositories, which reduces the need for creating duplicate secrets. Updating an organization secret in one location also ensures that the change takes effect in all repository workflows that use that secret.`}),`\n`,_jsx(_components.p,{children:`For secrets stored at the environment level, you can enable required reviewers to control access to the secrets. A workflow job cannot access environment secrets until approval is granted by required approvers.`}),`\n`,_jsxs(Heading,{level:`4`,id:`naming-your-secrets`,children:[_jsx(_components.a,{href:`https://docs.github.com/en/actions/security-guides/encrypted-secrets#naming-your-secrets`,children:`Naming your secrets`}),` `,_jsx(`a`,{href:`#naming-your-secrets`,id:`naming-your-secrets`})]}),`\n`,_jsx(_components.p,{children:`The following rules apply to secret names:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Names can only contain alphanumeric characters (`,_jsx(_components.code,{children:`[a-z]`}),`, `,_jsx(_components.code,{children:`[A-Z]`}),`, `,_jsx(_components.code,{children:`[0-9]`}),`) or underscores (`,_jsx(_components.code,{children:`_`}),`). Spaces are not allowed.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Names must not start with the `,_jsx(_components.code,{children:`GITHUB_`}),` prefix.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Names must not start with a number.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Names are not case-sensitive.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Names must be unique at the level they are created at.`}),`\n`,_jsx(_components.p,{children:`For example, a secret created at the environment level must have a unique name in that environment, a secret created at the repository level must have a unique name in that repository, and a secret created at the organization level must have a unique name at that level.`}),`\n`,_jsx(_components.p,{children:`If a secret with the same name exists at multiple levels, the secret at the lowest level takes precedence. For example, if an organization-level secret has the same name as a repository-level secret, then the repository-level secret takes precedence. Similarly, if an organization, repository, and environment all have a secret with the same name, the environment-level secret takes precedence.`}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`To help ensure that GitHub redacts your secret in logs, avoid using structured data as the values of secrets. For example, avoid creating secrets that contain JSON or encoded Git blobs.`}),`\n`,_jsxs(Heading,{level:`4`,id:`accessing-your-secrets`,children:[_jsx(_components.a,{href:`https://docs.github.com/en/actions/security-guides/encrypted-secrets#accessing-your-secrets`,children:`Accessing your secrets`}),` `,_jsx(`a`,{href:`#accessing-your-secrets`,id:`accessing-your-secrets`})]}),`\n`,_jsxs(_components.p,{children:[`To make a secret available to an action, you must set the secret as an input or environment variable in the workflow file. Review the action’s README file to learn about which inputs and environment variables the action expects. For more information, see “`,_jsx(_components.a,{href:`https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsenv`,children:`Workflow syntax for GitHub Actions`}),`.”`]}),`\n`,_jsxs(_components.p,{children:[`You can use and read encrypted secrets in a workflow file if you have access to edit the file. For more information, see “`,_jsx(_components.a,{href:`https://docs.github.com/en/get-started/learning-about-github/access-permissions-on-github`,children:`Access permissions on GitHub`}),`.”`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Warning:`}),` GitHub automatically redacts secrets printed to the log, but you should avoid printing secrets to the log intentionally.`]}),`\n`,_jsx(_components.p,{children:`Organization and repository secrets are read when a workflow run is queued, and environment secrets are read when a job referencing the environment starts.`}),`\n`,_jsxs(_components.p,{children:[`You can also manage secrets using the REST API. For more information, see “`,_jsx(_components.a,{href:`https://docs.github.com/en/rest/actions#secrets`,children:`Actions`}),`.”`]}),`\n`,_jsx(Heading,{level:`2`,id:`setup-with-envsecrets`,children:`Setup with envsecrets`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.a,{href:`https://app.envsecrets.com/integrations/catalog`,children:`integrations catalog`}),` in your envsecrets dashboard and choose “Github Actions.”`]}),`\n`,_jsx(_components.li,{children:`Complete the Oauth procedure that begins and grant access to all of your Github repositories to which you wish to sync your secrets.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`activation`,children:`Activation`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to the `,_jsx(_components.a,{href:`https://app.envsecrets.com/integrations`,children:`integrations`}),` dashboard in your envsecrets organisation and under “Github Actions” choose “Sync New Environment With Your Github Actions Account.”`]}),`\n`,_jsx(_components.li,{children:`In the page that opens, select your envsecrets project, environment and your Github repository where you wish to push/sync your secrets.`}),`\n`,_jsx(_components.li,{children:`Complete and save the form.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsx(Heading,{level:`3`,id:`platform`,children:`Platform`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Navigate to the environment for which you activated the integration.`}),`\n`,_jsx(_components.li,{children:`Click on the “Sync” button.`}),`\n`,_jsx(_components.li,{children:`Choose the Github repository to which you want to sync your secrets.`}),`\n`,_jsx(_components.li,{children:`Approve the sync.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`cli`,children:`CLI`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Use the command: `,_jsx(_components.code,{children:`envs sync --env [name-of-your-remote-environment]`})]}),`\n`,_jsx(_components.li,{children:`Choose the Gitlab integration.`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Once your secrets are synced, it is recommended you go to your Github repository and validate the new values.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Github Actions","description":"How to continuously sync your secrets with Github Actions.","href":"/integrations/github"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"About Github Secrets","slug":"about-github-secrets","depth":3,"children":[]},{"title":"Naming your secrets ","slug":"naming-your-secrets","depth":4,"children":[]},{"title":"Accessing your secrets ","slug":"accessing-your-secrets","depth":4,"children":[]},{"title":"Setup with envsecrets","slug":"setup-with-envsecrets","depth":2,"children":[]},{"title":"Activation","slug":"activation","depth":2,"children":[]},{"title":"Usage","slug":"usage","depth":2,"children":[{"title":"Platform","slug":"platform","depth":3,"children":[]},{"title":"CLI","slug":"cli","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"envsecrets-91","siteName":"envsecrets","title":"Github Actions - envsecrets","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:46:31.887Z","originalFileLocation":"integrations/github.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to continuously sync your secrets with Github Actions.\">\u003cmeta data-mint-head name=\"application-name\" content=\"envsecrets\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Github Actions - envsecrets\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to continuously sync your secrets with Github Actions.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"envsecrets\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.envsecrets.com/integrations/github\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://envsecrets-91.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Github+Actions\u0026amp;description=How+to+continuously+sync+your+secrets+with+Github+Actions.\u0026amp;theme=6e522f87019db9db3637b258\u0026amp;signature=355fdabe9f094f38c0f5d6d887c0c9e1647679c105015df931e0afefb2fbe8d3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Github Actions - envsecrets\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to continuously sync your secrets with Github Actions.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://envsecrets-91.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Github+Actions\u0026amp;description=How+to+continuously+sync+your+secrets+with+Github+Actions.\u0026amp;theme=6e522f87019db9db3637b258\u0026amp;signature=355fdabe9f094f38c0f5d6d887c0c9e1647679c105015df931e0afefb2fbe8d3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/envsecrets-91/KS4-eAoKdHnatNXe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"envsecrets\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#148BF2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.envsecrets.com/integrations/github\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/github.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.envsecrets.com/#organization\",\"name\":\"envsecrets\",\"url\":\"https://docs.envsecrets.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.envsecrets.com#website\",\"name\":\"envsecrets\",\"url\":\"https://docs.envsecrets.com\",\"publisher\":{\"@id\":\"https://docs.envsecrets.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.envsecrets.com/integrations/github#webpage\",\"url\":\"https://docs.envsecrets.com/integrations/github\",\"name\":\"Github Actions\",\"description\":\"How to continuously sync your secrets with Github Actions.\",\"dateModified\":\"2026-01-06T23:46:31.887Z\",\"isPartOf\":{\"@id\":\"https://docs.envsecrets.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.envsecrets.com/integrations/github#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.envsecrets.com/integrations/github#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"envsecrets\",\"item\":\"https://docs.envsecrets.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Github Actions\",\"item\":\"https://docs.envsecrets.com/integrations/github\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.envsecrets.com/integrations/github#article\",\"headline\":\"Github Actions\",\"name\":\"Github Actions\",\"description\":\"How to continuously sync your secrets with Github Actions.\",\"url\":\"https://docs.envsecrets.com/integrations/github\",\"mainEntityOfPage\":{\"@id\":\"https://docs.envsecrets.com/integrations/github#webpage\"},\"dateModified\":\"2026-01-06T23:46:31.887Z\",\"publisher\":{\"@id\":\"https://docs.envsecrets.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.envsecrets.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"envsecrets\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"envsecrets","nav":{"global":{"anchors":[{"anchor":"Documentation","href":"https://docs.envsecrets.com","icon":"book-open-cover"},{"anchor":"Repository","href":"https://github.com/envsecrets/envsecrets","icon":"github"},{"anchor":"Community","href":"https://discord.gg/4YaTFZ2xBA","icon":"discord"},{"anchor":"Issues \u0026 Discussions","href":"https://github.com/orgs/envsecrets/discussions","icon":"code-pull-request"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"group":"Concepts","pages":[{"title":"Secrets \u0026 Versions","href":"/concepts/secret"},{"title":"Orgnisational Heirarchy","href":"/concepts/heirarchy"},{"title":"Environment Tokens","href":"/concepts/token"}]}]},{"group":"Security","pages":[{"title":"Data Model","href":"/security/model"},{"title":"Promises","href":"/security/promises"},{"title":"Multi-Factor Authentication","href":"/security/mfa"},{"title":"Authorization","href":"/security/access_control"}]},{"group":"Command Line","pages":[{"title":"Installation","href":"/cli/install"},{"group":"Commands","pages":[{"title":"Login","href":"/cli/commands/envs_login"},{"title":"Logout","href":"/cli/commands/envs_logout"},{"title":"Init","href":"/cli/commands/envs_init"},{"title":"Get","href":"/cli/commands/envs_get"},{"title":"Set","href":"/cli/commands/envs_set"},{"title":"List","href":"/cli/commands/envs_list"},{"title":"Delete","href":"/cli/commands/envs_delete"},{"title":"Export","href":"/cli/commands/envs_export"},{"title":"Run","href":"/cli/commands/envs_run"},{"title":"Sync","href":"/cli/commands/envs_sync"},{"title":"Completion","description":"Generate the autocompletion script for the specified shell.","href":"/cli/commands/envs_completion"}]}]},{"group":"Integrations","pages":[{"title":"Github Actions","href":"/integrations/github"},{"title":"Gitlab","description":"How to continuously sync your secrets with Gitlab projects and groups.","href":"/integrations/gitlab"},{"title":"AWS Secrets Manager","href":"/integrations/asm"},{"title":"GCP Secrets Manager","href":"/integrations/gsm"},{"title":"Supabase","href":"/integrations/supabase"},{"title":"Circle CI","href":"/integrations/circleci"},{"title":"Railway","href":"/integrations/railway"},{"title":"Hasura Cloud","href":"/integrations/hasura"},{"title":"Heroku","href":"/integrations/heroku"},{"title":"Nhost","href":"/integrations/nhost"},{"title":"Vercel","href":"/integrations/vercel"}]}]}]},"basePath":"","title":"Github Actions - envsecrets","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":[],"chunks":[]}