Skip to content

Variables and secrets

The workflows read the variables of the repository as vars.NAME and its secrets as secrets.NAME. The settings as code set most of the variables from the answers of Copier, and the checklist of python3 .github/blueprint.py checklist names each secret that is missing, with the command that sets it; the value goes into the prompt of the GitHub CLI and nowhere else. A variable that isn't set reads as empty, and so does a secret, which the workflows check before they use it.

Variables

  • BETA_CHANNEL: true makes every change for users that reaches main, a feat, fix or perf, a beta of the next release, such as 1.3.0-beta.2, which the release publishes as a prerelease for the testers who take prereleases.
  • BLUEPRINT_AUTOMERGE: off makes every update of the blueprint wait for the maintainer, where its pull request would merge itself once every check passes; an update with conflicts waits either way.
  • BLUEPRINT_OWNERSHIP: fail makes the check lint fail on a pull request of a person that changes a file of the blueprint outside the marked lines of CONTRIBUTING.md, where it leaves a notice with any other value or none.
  • CODE_SCANNING: off keeps every finding out of code scanning, which GitHub offers a private repository only with GitHub Code Security: CodeQL doesn't analyze, since its terms allow it on private code only with GitHub Code Security or Advanced Security, and its check passes with a notice; zizmor fails on every finding; OSV-Scanner and the Scorecard keep theirs in their checks.
  • CWS_EXTENSION_ID: The ID of the item of a Chrome extension in the Chrome Web Store, from the address of the item in the Developer Dashboard, to which the workflow Chrome Web Store delivers every release.
  • CWS_PUBLISHER_ID: The ID of the publisher of a Chrome extension, under Account in the Developer Dashboard of the Chrome Web Store; the API of the store names the item by it and CWS_EXTENSION_ID.
  • CWS_SERVICE_ACCOUNT: The address of the service account of Google, such as chrome-web-store@PROJECT.iam.gserviceaccount.com, which the Developer Dashboard admits to the item and as which the workflow Chrome Web Store signs in, with the OIDC token of GitHub and no stored secret.
  • CWS_WORKLOAD_IDENTITY_PROVIDER: The provider of the workload identity pool of Google that takes the OIDC token of GitHub, such as projects/123456789/locations/global/workloadIdentityPools/github/providers/NAME with the number of the project: set with CWS_SERVICE_ACCOUNT, the workflow Chrome Web Store signs in without a stored secret.
  • DEPENDENCY_REVIEW: off makes the check dependency-review leave the vulnerabilities to the check osv-scanner (pull request), which compares the lock files of a pull request with those of its base; GitHub offers its dependency review to a private repository only with GitHub Code Security.
  • ISSUE_ASSISTANT_AI: off makes the issue assistant label the issues and answer the commands of their comments without an AI engine, which then needs no secret; on lets the engine analyze each new issue as well.
  • MUTATION_PARTS: The number of parts in which the mutation tests run, one job each, in place of the estimate from the number of mutants: more parts for a project whose parts run out of the six hours of a job.
  • PUBLISH_TO: Where the release delivers the package: pypi, npm, ghcr, hacs, nextcloud-appstore, github-action, chrome-web-store, cloudflare-workers, installers or none, by the kind of project and, for a package of npm or PyPI, the answer publish_package.
  • RELEASE_APP: The name of the release app, as its address says: github.com/apps/NAME.
  • RELEASE_AUTOMATION_APP_ID: The App ID of the release app, the number on its settings page.
  • RELEASE_AUTOMATION_CLIENT_ID: The Client ID of the release app, with which each bot asks for a token of the app, together with the private key RELEASE_AUTOMATION_PRIVATE_KEY.
  • RELEASE_MERGE: Who merges the release pull request.
  • REVIEWS_OF_MAIN: on where required_approvals or code_owner_review of [branch] want a review of every change, in the ruleset Reviews of main: then a check that passed for a pull request that a bot pushed to starts the branch bot, which merges a pull request of the bots past the review once its required checks passed.
  • SETTINGS_APP_CLIENT_ID: The Client ID of the settings app, an optional second GitHub App of the owner with only the permissions that the settings need.
  • UPSTREAM_AUTOMERGE: off makes the pull request of the upstream bot of a Nextcloud app, which raises max-version to a new major version of Nextcloud, wait for the maintainer, where it would merge itself once every check passes.

BETA_CHANNEL

true makes every change for users that reaches main, a feat, fix or perf, a beta of the next release, such as 1.3.0-beta.2, which the release publishes as a prerelease for the testers who take prereleases. A beta of a Nextcloud app goes to the App Store with its version in the appinfo/info.xml of its package, which Nextcloud offers only to servers on its beta channel, and never replaces the last release. Without it, or with any other value, no betas are published.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: release.yml (Release, every repository)

What the workflows say of it:

  • release.yml: Where the repository variable BETA_CHANNEL is true, every change for users that reaches main, a feat, fix or perf, becomes a beta of the next release, such as 1.3.0-beta.2, for the testers who take prereleases.

BLUEPRINT_AUTOMERGE

off makes every update of the blueprint wait for the maintainer, where its pull request would merge itself once every check passes; an update with conflicts waits either way. Set it to on, or delete it with gh variable delete BLUEPRINT_AUTOMERGE, and the updates merge themselves again: the settings bot never deletes a variable, so removing its line from .github/repository.project.toml leaves off in place.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: blueprint-update.yml (Blueprint update, every repository)

What the workflows say of it:

  • blueprint-update.yml: The repository variable BLUEPRINT_AUTOMERGE set to off makes every update wait.

BLUEPRINT_OWNERSHIP

fail makes the check lint fail on a pull request of a person that changes a file of the blueprint outside the marked lines of CONTRIBUTING.md, where it leaves a notice with any other value or none. The report of the PR coach says where the change belongs instead. Bots stay out of it: the update of the blueprint and the pull requests of the other bots.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: lint.yml (Lint, every repository)

What the workflows say of it:

  • lint.yml: A failure only with the repository variable BLUEPRINT_OWNERSHIP set to fail.

CODE_SCANNING

off keeps every finding out of code scanning, which GitHub offers a private repository only with GitHub Code Security: CodeQL doesn't analyze, since its terms allow it on private code only with GitHub Code Security or Advanced Security, and its check passes with a notice; zizmor fails on every finding; OSV-Scanner and the Scorecard keep theirs in their checks. The settings bot sets it to off on such a repository and back to on once GitHub offers code scanning; [variables] of .github/repository.project.toml decides instead where it names it.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: ci-php.yml (CI (php), where ci_workflow == 'php'); codeql.yml (CodeQL, every repository); osv-scanner.yml (OSV-Scanner, every repository); scorecard.yml (OpenSSF Scorecard, every repository); zizmor.yml (Workflow security, every repository)

What the workflows say of it:

  • codeql.yml: A private repository without GitHub Code Security has no code scanning: there the settings bot sets the variable CODE_SCANNING to off, and the check passes without an analysis, because the terms of CodeQL allow it on private code only with GitHub Code Security or Advanced Security.

CWS_EXTENSION_ID

The ID of the item of a Chrome extension in the Chrome Web Store, from the address of the item in the Developer Dashboard, to which the workflow Chrome Web Store delivers every release.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: publish-store.yml (Chrome Web Store, where publish_to == 'chrome-web-store')

What the workflows say of it:

  • publish-store.yml: The IDs of the item and of the publisher are the variables CWS_EXTENSION_ID and CWS_PUBLISHER_ID; docs/releases.md describes the one-time set-up of either way.

CWS_PUBLISHER_ID

The ID of the publisher of a Chrome extension, under Account in the Developer Dashboard of the Chrome Web Store; the API of the store names the item by it and CWS_EXTENSION_ID.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: publish-store.yml (Chrome Web Store, where publish_to == 'chrome-web-store')

What the workflows say of it:

  • publish-store.yml: The IDs of the item and of the publisher are the variables CWS_EXTENSION_ID and CWS_PUBLISHER_ID; docs/releases.md describes the one-time set-up of either way.

CWS_SERVICE_ACCOUNT

The address of the service account of Google, such as chrome-web-store@PROJECT.iam.gserviceaccount.com, which the Developer Dashboard admits to the item and as which the workflow Chrome Web Store signs in, with the OIDC token of GitHub and no stored secret.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: publish-store.yml (Chrome Web Store, where publish_to == 'chrome-web-store')

What the workflows say of it:

  • publish-store.yml: The two jobs that talk to the store sign in to Google without a stored secret once the variables CWS_WORKLOAD_IDENTITY_PROVIDER and CWS_SERVICE_ACCOUNT are set: the OIDC token of GitHub for the job, which Google takes only from this workflow on main, becomes an access token of a service account for 20 minutes, and they alone may ask GitHub for one.

CWS_WORKLOAD_IDENTITY_PROVIDER

The provider of the workload identity pool of Google that takes the OIDC token of GitHub, such as projects/123456789/locations/global/workloadIdentityPools/github/providers/NAME with the number of the project: set with CWS_SERVICE_ACCOUNT, the workflow Chrome Web Store signs in without a stored secret.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: publish-store.yml (Chrome Web Store, where publish_to == 'chrome-web-store')

What the workflows say of it:

  • publish-store.yml: The two jobs that talk to the store sign in to Google without a stored secret once the variables CWS_WORKLOAD_IDENTITY_PROVIDER and CWS_SERVICE_ACCOUNT are set: the OIDC token of GitHub for the job, which Google takes only from this workflow on main, becomes an access token of a service account for 20 minutes, and they alone may ask GitHub for one.

DEPENDENCY_REVIEW

off makes the check dependency-review leave the vulnerabilities to the check osv-scanner (pull request), which compares the lock files of a pull request with those of its base; GitHub offers its dependency review to a private repository only with GitHub Code Security. The settings bot sets it to off on such a repository and back to on once GitHub offers the review; [variables] of .github/repository.project.toml decides instead where it names it.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: quick-checks.yml (Quick checks, every repository)

What the workflows say of it:

  • quick-checks.yml: A private repository without GitHub Code Security has no dependency review: there the settings bot sets the variable DEPENDENCY_REVIEW to off, and the check leaves the vulnerabilities of the lock files to OSV-Scanner.

ISSUE_ASSISTANT_AI

off makes the issue assistant label the issues and answer the commands of their comments without an AI engine, which then needs no secret; on lets the engine analyze each new issue as well. The reusable workflow of the issue assistant, which issue-assistant.yml calls, reads it.

  • Set by: the settings as code: .github/repository.toml sets it, from issue_assistant_ai, and the settings bot applies it; .github/repository.project.toml can set another value
  • Read by: no workflow

MUTATION_PARTS

The number of parts in which the mutation tests run, one job each, in place of the estimate from the number of mutants: more parts for a project whose parts run out of the six hours of a job.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: mutation.yml (Mutation, where stack in ['python', 'home-assistant', 'php'])

PUBLISH_TO

Where the release delivers the package: pypi, npm, ghcr, hacs, nextcloud-appstore, github-action, chrome-web-store, cloudflare-workers, installers or none, by the kind of project and, for a package of npm or PyPI, the answer publish_package. A Cloudflare Worker reaches Cloudflare through Workers Builds, outside GitHub, so its release ships the files of its tag; the release of an Electron app carries its installers itself, from which the installed app updates. The build, the release and the check of the latest release follow it. A value in .github/repository.project.toml changes only the delivery: the documents follow the answer, so a package that publishes nowhere answers publish_package with no.

  • Set by: the settings as code: .github/repository.toml sets it, from publish_to, and the settings bot applies it; .github/repository.project.toml can set another value
  • Read by: build-release.yml (Build the release, every repository); publish-store.yml (Chrome Web Store, where publish_to == 'chrome-web-store'); release.yml (Release, every repository); verify-release.yml (Release verification, every repository)

What the workflows say of it:

  • publish-store.yml: It runs where the repository variable PUBLISH_TO is chrome-web-store: in a repository of the kind chrome-extension, never in the blueprint or a fork.
  • publish-store.yml: A fork has none of the variables of the repository, so PUBLISH_TO keeps it out too.
  • release.yml: The jobs below attach the package, its SBOMs (SPDX and CycloneDX), the licenses of its third-party components, the advisories that don't affect it (OpenVEX) and its signed provenance, write the notes, make the release public, announce it in the discussions, and then deliver it where the repository variable PUBLISH_TO says: pypi, npm, ghcr, hacs, nextcloud-appstore, github-action, chrome-web-store, which publish-store.yml takes over once this workflow has passed, cloudflare-workers, which Workers Builds deploys outside GitHub, installers, the installers of an Electron app that the release itself carries and from which an installed app updates, or none.
  • verify-release.yml: It checks a release the way its users can: every asset carries the signed provenance of this repository's release workflow, both in GitHub and in the attached bundle; the SBOMs are attached and describe what the release ships, by its name and version; the release is immutable and its commit signed; and where the repository variable PUBLISH_TO delivers it, the same release is there.

RELEASE_APP

The name of the release app, as its address says: github.com/apps/NAME. No workflow reads it; the checklist of blueprint.py links the installation of the app with it.

  • Set by: the settings as code: .github/repository.toml sets it, from release_app, and the settings bot applies it; .github/repository.project.toml can set another value
  • Read by: no workflow

RELEASE_AUTOMATION_APP_ID

The App ID of the release app, the number on its settings page. No workflow reads it; the settings as code let only this app create release tags, in the ruleset Release tag creation.

  • Set by: the settings as code: .github/repository.toml sets it, from release_app_id, and the settings bot applies it; .github/repository.project.toml can set another value
  • Read by: no workflow

RELEASE_AUTOMATION_CLIENT_ID

The Client ID of the release app, with which each bot asks for a token of the app, together with the private key RELEASE_AUTOMATION_PRIVATE_KEY. Without it, the bots say in their summary what is missing, and the release pull request starts no checks.

RELEASE_MERGE

Who merges the release pull request. maintainer, the default of a new repository: the maintainer does, and a release of nothing but dependency updates merges itself once a day, or at once with the fix of a vulnerability. daily, as in the blueprint: the release bot merges every release in its daily run once its checks pass, at most one a day, and at once in a run started by hand or with the fix of a vulnerability; a comment in the release pull request says when it goes. A project sets it under [variables] of .github/repository.project.toml.

  • Set by: the settings as code: .github/repository.toml sets it, and the settings bot applies it; .github/repository.project.toml can set another value
  • Read by: release.yml (Release, every repository)

What the workflows say of it:

  • release.yml: A release that only updates dependencies merges itself once its checks pass, once a day, or at once with a fix of a vulnerability; where the variable RELEASE_MERGE is daily, as in the blueprint, every release does, at most one a day, and at once when the workflow is started by hand (decision 0180).
  • release.yml: It is also the daily run that merges a release of dependency updates, or every release where RELEASE_MERGE is daily, and the one that closes the Dependabot alerts of advisories published since the last push.
  • release.yml: Where the variable RELEASE_MERGE is daily, as in the blueprint, every release merges in the daily run, at most one a day, and at once in a run started by hand or with the fix of a vulnerability; the pull request says so in a comment (decision 0180).
  • release.yml: With RELEASE_MERGE daily, by the event of the run, who started it and the day of the last release: a run that a bot started by hand, such as bot health, keeps to the day as the daily run does; one of a person goes at once.

REVIEWS_OF_MAIN

on where required_approvals or code_owner_review of [branch] want a review of every change, in the ruleset Reviews of main: then a check that passed for a pull request that a bot pushed to starts the branch bot, which merges a pull request of the bots past the review once its required checks passed. The settings bot sets it to on or off by [branch]; [variables] of .github/repository.project.toml decides instead where it names it.

  • Set by: the settings as code, from required_approvals and code_owner_review of [branch], which the settings bot applies; [variables] of .github/repository.project.toml can set another value
  • Read by: after-checks.yml (After the checks, every repository); update-branches.yml (Update branches, every repository)

What the workflows say of it:

  • after-checks.yml: Where the settings want an approving review of every change, the variable REVIEWS_OF_MAIN is on, and auto-merge doesn't merge a pull request of the bots, which no person reviews: the bot merges it past the review once its checks have passed.

SETTINGS_APP_CLIENT_ID

The Client ID of the settings app, an optional second GitHub App of the owner with only the permissions that the settings need. With it and the private key SETTINGS_APP_PRIVATE_KEY, the settings bot applies the settings as this app, and the blueprint bot lets the actions of an update start before it pushes the update, so that the release app needs no Administration. Without them, the release app applies the settings, as before.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: blueprint-update.yml (Blueprint update, every repository); release.yml (Release, every repository); settings.yml (Settings, every repository)

What the workflows say of it:

  • release.yml: The settings app writes the alerts once the variable SETTINGS_APP_CLIENT_ID and the secret SETTINGS_APP_PRIVATE_KEY name it, as it writes the rest of the administration; set up in part, the run says what is missing and goes on with the release app, as the settings bot does.
  • settings.yml: Every week, and after each change of the settings as code or of its own code, it brings the settings of the repository on GitHub in line with .github/repository.toml, .github/repository.project.toml and .github/labels.toml, as the settings app, a second GitHub App of the owner that only administers, once the variable SETTINGS_APP_CLIENT_ID and the secret SETTINGS_APP_PRIVATE_KEY name it, and as the release app until then, with a token that may write the administration of the repository but neither its code nor its workflows.

UPSTREAM_AUTOMERGE

off makes the pull request of the upstream bot of a Nextcloud app, which raises max-version to a new major version of Nextcloud, wait for the maintainer, where it would merge itself once every check passes.

  • Set by: you, where you want it: in [variables] of .github/repository.project.toml, which the settings bot applies, or under Settings → Secrets and variables → Actions → Variables
  • Read by: upstream.yml (Upstream, where project_type == 'nextcloud-app')

What the workflows say of it:

  • upstream.yml: It merges itself once they pass, unless the repository variable UPSTREAM_AUTOMERGE is off.

Secrets

  • ANTHROPIC_API_KEY: An API key of Anthropic, which the issue assistant takes in place of CLAUDE_CODE_OAUTH_TOKEN to analyze each new issue with Claude, at the prices of Anthropic's API.
  • APPSTORE_TOKEN: The API token of the account of the Nextcloud App Store, with which the release submits the signed package and the workflow Register app registers the id of the app.
  • APP_PRIVATE_KEY: The private key of the certificate of a Nextcloud app, with which the release signs the package for the App Store and the workflow Register app proves the id of the app.
  • CLAUDE_CODE_OAUTH_TOKEN: The token of a Claude subscription, which claude setup-token of Claude Code creates, with which the issue assistant analyzes each new issue with Claude.
  • COPILOT_GITHUB_TOKEN: A fine-grained token of GitHub with the permission Copilot Requests alone and no access to repositories, with which the issue assistant analyzes each new issue with Copilot, once name under [engine] of .github/issue-assistant/config.toml is copilot.
  • CWS_CLIENT_ID: The client ID of the OAuth client of a Google Cloud project, with which the workflow Chrome Web Store of a Chrome extension signs in with the refresh token, until the sign-in without a stored secret is set up.
  • CWS_CLIENT_SECRET: The client secret of the same OAuth client, a secret of the environment chrome-web-store for the sign-in with the refresh token.
  • CWS_REFRESH_TOKEN: The refresh token of the developer account, with the scope of the Chrome Web Store, a secret of the environment chrome-web-store for the sign-in with the refresh token.
  • GEMINI_API_KEY: An API key of Google AI Studio, with which the issue assistant analyzes each new issue with Gemini, once name under [engine] of .github/issue-assistant/config.toml is gemini; free within the daily limits of the free tier of the Gemini API.
  • GITHUB_TOKEN: The token that GitHub gives every run of a workflow, for its repository alone and with the permissions that its permissions: grant.
  • OPENAI_API_KEY: An API key of OpenAI, with which the issue assistant analyzes each new issue with Codex, once name under [engine] of .github/issue-assistant/config.toml is codex, at the prices of OpenAI's API.
  • RELEASE_AUTOMATION_PRIVATE_KEY: The private key of the release app, which app register sets without a file.
  • SETTINGS_APP_PRIVATE_KEY: The private key of the settings app, the file that its settings page generates.

ANTHROPIC_API_KEY

An API key of Anthropic, which the issue assistant takes in place of CLAUDE_CODE_OAUTH_TOKEN to analyze each new issue with Claude, at the prices of Anthropic's API. Set one of the two; without either, the assistant works without AI, as with ISSUE_ASSISTANT_AI set to off.

  • Set by: you, as a secret of the environment issue-assistant, which only main may use: gh secret set ANTHROPIC_API_KEY --env issue-assistant
  • Read by: issue-assistant.yml (Issue assistant, every repository)

APPSTORE_TOKEN

The API token of the account of the Nextcloud App Store, with which the release submits the signed package and the workflow Register app registers the id of the app. Only a Nextcloud app needs it.

  • Set by: you, as a secret of the environment appstore, which only main may use: gh secret set APPSTORE_TOKEN --env appstore, as the checklist shows
  • Read by: register-app.yml (Register the app, where project_type == 'nextcloud-app'); release.yml (Release, every repository)

APP_PRIVATE_KEY

The private key of the certificate of a Nextcloud app, with which the release signs the package for the App Store and the workflow Register app proves the id of the app. Only a Nextcloud app needs it.

  • Set by: you, as a secret of the environment signing, which only main may use: gh secret set APP_PRIVATE_KEY --env signing < KEY_FILE, as the checklist shows
  • Read by: build-release.yml (Build the release, every repository); register-app.yml (Register the app, where project_type == 'nextcloud-app')

CLAUDE_CODE_OAUTH_TOKEN

The token of a Claude subscription, which claude setup-token of Claude Code creates, with which the issue assistant analyzes each new issue with Claude. The checklist asks for it while the answer issue_assistant_ai is on; ANTHROPIC_API_KEY works in its place.

  • Set by: you, as a secret of the environment issue-assistant, which only main may use: gh secret set CLAUDE_CODE_OAUTH_TOKEN --env issue-assistant, as the checklist shows
  • Read by: issue-assistant.yml (Issue assistant, every repository)

COPILOT_GITHUB_TOKEN

A fine-grained token of GitHub with the permission Copilot Requests alone and no access to repositories, with which the issue assistant analyzes each new issue with Copilot, once name under [engine] of .github/issue-assistant/config.toml is copilot. It counts the premium requests of the Copilot plan of the token's owner.

  • Set by: you, as a secret of the environment issue-assistant, which only main may use: gh secret set COPILOT_GITHUB_TOKEN --env issue-assistant
  • Read by: issue-assistant.yml (Issue assistant, every repository)

CWS_CLIENT_ID

The client ID of the OAuth client of a Google Cloud project, with which the workflow Chrome Web Store of a Chrome extension signs in with the refresh token, until the sign-in without a stored secret is set up. A secret of the environment chrome-web-store; docs/releases.md of the extension says how to get it.

  • Set by: you, as a secret of the environment chrome-web-store, which only main may use: gh secret set CWS_CLIENT_ID --env chrome-web-store
  • Read by: publish-store.yml (Chrome Web Store, where publish_to == 'chrome-web-store')

CWS_CLIENT_SECRET

The client secret of the same OAuth client, a secret of the environment chrome-web-store for the sign-in with the refresh token. Delete it once the sign-in without a stored secret works.

  • Set by: you, as a secret of the environment chrome-web-store, which only main may use: gh secret set CWS_CLIENT_SECRET --env chrome-web-store
  • Read by: publish-store.yml (Chrome Web Store, where publish_to == 'chrome-web-store')

CWS_REFRESH_TOKEN

The refresh token of the developer account, with the scope of the Chrome Web Store, a secret of the environment chrome-web-store for the sign-in with the refresh token. The daily run keeps it in use; delete it once the sign-in without a stored secret works.

  • Set by: you, as a secret of the environment chrome-web-store, which only main may use: gh secret set CWS_REFRESH_TOKEN --env chrome-web-store
  • Read by: publish-store.yml (Chrome Web Store, where publish_to == 'chrome-web-store')

GEMINI_API_KEY

An API key of Google AI Studio, with which the issue assistant analyzes each new issue with Gemini, once name under [engine] of .github/issue-assistant/config.toml is gemini; free within the daily limits of the free tier of the Gemini API.

  • Set by: you, as a secret of the environment issue-assistant, which only main may use: gh secret set GEMINI_API_KEY --env issue-assistant
  • Read by: issue-assistant.yml (Issue assistant, every repository)

GITHUB_TOKEN

The token that GitHub gives every run of a workflow, for its repository alone and with the permissions that its permissions: grant. What a workflow does with it starts no other workflow, which is why the bots that open, update or merge pull requests act as the release app.

What the workflows say of it:

  • release.yml: A pull request of the release app starts the checks; one of the job's GITHUB_TOKEN would start none.

OPENAI_API_KEY

An API key of OpenAI, with which the issue assistant analyzes each new issue with Codex, once name under [engine] of .github/issue-assistant/config.toml is codex, at the prices of OpenAI's API.

  • Set by: you, as a secret of the environment issue-assistant, which only main may use: gh secret set OPENAI_API_KEY --env issue-assistant
  • Read by: issue-assistant.yml (Issue assistant, every repository)

RELEASE_AUTOMATION_PRIVATE_KEY

The private key of the release app, which app register sets without a file. With it and RELEASE_AUTOMATION_CLIENT_ID, the bots act as the app: they open and merge the release and update pull requests, so that their checks run, create the release tags and apply the settings. For an app that exists, python3 .github/blueprint.py app connect --key-file FILE sets it from the file that the settings page of the app generates.

SETTINGS_APP_PRIVATE_KEY

The private key of the settings app, the file that its settings page generates. With it and SETTINGS_APP_CLIENT_ID, the settings bot and the blueprint bot act as the settings app, the only app that writes the administration of the repository. The file goes in with < key.pem after the command below.

  • Set by: you, as a secret of the environment release, which only main may use: gh secret set SETTINGS_APP_PRIVATE_KEY --env release < KEY_FILE
  • Read by: blueprint-update.yml (Blueprint update, every repository); release.yml (Release, every repository); settings.yml (Settings, every repository)

What the workflows say of it:

  • release.yml: The settings app writes the alerts once the variable SETTINGS_APP_CLIENT_ID and the secret SETTINGS_APP_PRIVATE_KEY name it, as it writes the rest of the administration; set up in part, the run says what is missing and goes on with the release app, as the settings bot does.
  • settings.yml: Every week, and after each change of the settings as code or of its own code, it brings the settings of the repository on GitHub in line with .github/repository.toml, .github/repository.project.toml and .github/labels.toml, as the settings app, a second GitHub App of the owner that only administers, once the variable SETTINGS_APP_CLIENT_ID and the secret SETTINGS_APP_PRIVATE_KEY name it, and as the release app until then, with a token that may write the administration of the repository but neither its code nor its workflows.