{"id":21313985,"url":"https://github.com/octopusdeploy/deploy-release-tenanted-action","last_synced_at":"2026-04-13T09:02:00.596Z","repository":{"id":65158284,"uuid":"569180530","full_name":"OctopusDeploy/deploy-release-tenanted-action","owner":"OctopusDeploy","description":"| Public | :octocat: GitHub Action to Deploy a Tenanted Release in Octopus Deploy","archived":false,"fork":false,"pushed_at":"2026-04-13T05:24:27.000Z","size":2673,"stargazers_count":5,"open_issues_count":17,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-13T07:21:01.168Z","etag":null,"topics":["deployment","github-actions","octopus-deploy","public"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/deploy-a-tenanted-release-in-octopus-deploy","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OctopusDeploy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-22T09:01:23.000Z","updated_at":"2026-04-02T06:02:45.000Z","dependencies_parsed_at":"2026-01-03T15:03:25.158Z","dependency_job_id":null,"html_url":"https://github.com/OctopusDeploy/deploy-release-tenanted-action","commit_stats":{"total_commits":16,"total_committers":5,"mean_commits":3.2,"dds":0.625,"last_synced_commit":"27b89643a2345d8dd60352d44a8c77b4470ae472"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/OctopusDeploy/deploy-release-tenanted-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctopusDeploy%2Fdeploy-release-tenanted-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctopusDeploy%2Fdeploy-release-tenanted-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctopusDeploy%2Fdeploy-release-tenanted-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctopusDeploy%2Fdeploy-release-tenanted-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OctopusDeploy","download_url":"https://codeload.github.com/OctopusDeploy/deploy-release-tenanted-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctopusDeploy%2Fdeploy-release-tenanted-action/sbom","scorecard":{"id":104083,"data":{"date":"2025-08-11","repo":{"name":"github.com/OctopusDeploy/deploy-release-tenanted-action","commit":"4935e31260a3f3b99006e54d7ce3856eeb59ee98"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.8,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"25 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/dist.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-please.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/release-please.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-please.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/release-please.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-please.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/release-please.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-dependencies.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/OctopusDeploy/deploy-release-tenanted-action/update-dependencies.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:60","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   4 third-party GitHubAction dependencies pinned","Info:   1 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:30","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/test.yml:44","Warn: jobLevel 'checks' permission set to 'write': .github/workflows/test.yml:45","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/dist.yml:1","Warn: no topLevel permission defined: .github/workflows/no-build-required.yml:1","Warn: no topLevel permission defined: .github/workflows/release-please.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/renovate-pull-request-automation.yml:12","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Warn: no topLevel permission defined: .github/workflows/update-dependencies.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/OctopusDeploy/.github/SECURITY.md:1","Info: Found linked content: github.com/OctopusDeploy/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/OctopusDeploy/.github/SECURITY.md:1","Info: Found text in security policy: github.com/OctopusDeploy/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T10:45:39.554Z","repository_id":65158284,"created_at":"2025-08-15T10:45:39.554Z","updated_at":"2025-08-15T10:45:39.554Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deployment","github-actions","octopus-deploy","public"],"created_at":"2024-11-21T18:09:37.982Z","updated_at":"2026-04-13T09:02:00.591Z","avatar_url":"https://github.com/OctopusDeploy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deploy-release-tenanted-action\n\n\u003cimg alt= \"\" src=\"https://github.com/OctopusDeploy/deploy-release-tenanted-action/raw/main/assets/github-actions-octopus.png\" /\u003e\n\nThis is a GitHub Action to deploy a release in [Octopus Deploy](https://octopus.com/).\n\n\u003e [!IMPORTANT]\n\u003e As of **v3** of this action, Octopus Server version `2022.3.5512` or newer is required.\n\n## Deployments in Octopus Deploy\n\nA release is a snapshot of the deployment process and the associated assets (packages, scripts, variables) as they existed when the release was created. The release is given a version number, and you can deploy that release as many times as you need to, even if parts of the deployment process have changed since the release was created (those changes will be included in future releases but not in this version).\n\nWhen you deploy the release, you are executing the deployment process with all the associated details, as they existed when the release was created.\n\nMore information about releases and deployments in Octopus Deploy:\n\n- [Releases](https://octopus.com/docs/releases)\n- [Deployments](https://octopus.com/docs/deployments)\n\n## Examples\n\nIncorporate the following actions in your workflow to deploy a release in Octopus Deploy using an API key, a target instance (i.e. `server`), and a project:\n\n```yml\nenv:\n\nsteps:\n  # ...\n  - name: Deploy a release in Octopus Deploy 🐙\n    id: deploy_a_release_in_octopus_depoloy\n    uses: OctopusDeploy/deploy-release-tenanted-action@v4\n    env:\n      OCTOPUS_API_KEY: ${{ secrets.API_KEY  }}\n      OCTOPUS_URL: ${{ secrets.SERVER }}\n      OCTOPUS_SPACE: 'Outer Space'\n    with:\n      project: 'MyProject'\n      release_version: '1.0.0'\n      environment: 'Dev'\n      tenants: |\n        Some Tenant A\n        Some Tenant B\n      tenant_tags: |\n        setA/someTagB\n        setC/someTagD\n      variables: |\n        Foo: Bar\n        Fizz: Buzz\n```\n\nDeploy a release created from the [Create a Release](https://github.com/marketplace/actions/create-release-in-octopus-deploy) action:\n\n\n```yml\nenv:\n\nsteps:\n  # ...\n  - name: Create a release in Octopus Deploy 🐙\n    id: create_a_release_in_octopus_deploy\n    uses: OctopusDeploy/create-release-action@v4\n    with:\n      project: 'MyProject'\n\n  - name: Deploy a release in Octopus Deploy 🐙\n    id: deploy_a_release_in_octopus_depoloy\n    uses: OctopusDeploy/deploy-release-tenanted-action@v4\n    env:\n      OCTOPUS_API_KEY: ${{ secrets.API_KEY  }}\n      OCTOPUS_URL: ${{ secrets.SERVER }}\n      OCTOPUS_SPACE: 'Outer Space'\n    with:\n      project: 'MyProject'\n      release_version: ${{ steps.create_a_release_in_octopus_deploy.outputs.release_number }}\n      environment: 'Dev'\n      tenants: |\n        Some Tenant A\n        Some Tenant B\n      tenant_tags: |\n        setA/someTagB\n        setC/someTagD\n      variables: |\n        Foo: Bar\n        Fizz: Buzz\n```\n\n## ✍️ Environment Variables\n\n| Name              | Description                                                                                                                                          |\n| :---------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `OCTOPUS_URL`     | The base URL hosting Octopus Deploy (i.e. `https://octopus.example.com`). It is strongly recommended that this value retrieved from a GitHub secret. |\n| `OCTOPUS_API_KEY` | The API key used to access Octopus Deploy. It is strongly recommended that this value retrieved from a GitHub secret.                                |\n| `OCTOPUS_SPACE`   | The Name of a space within which this command will be executed.                                                                                      |\n\n## 📥 Inputs\n\n| Name                 | Description                                                                                                                                                                                                  |\n| :------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `project`            | **Required.** The name of the project associated with this release.                                                                                                                                          |\n| `release_number`     | **Required.** The release number to deploy.                                                                                                                                                                  |\n| `environment`        | **Required.** The environment names to deploy to.                                                                                                                                                            |\n| `tenants`            | The list of tenant names to deploy to. **NOTE** these values should not be enclosed in single-quotes (`'`)                                                                                                   |\n| `tenant_tags`        | The list of tenant tag canonical names to locate tenants to deploy to. **NOTE** these values should not be enclosed in single-quotes (`'`)                                                                   |\n| `use_guided_failure` | Whether to use guided failure mode if errors occur during the deployment.                                                                                                                                    |\n| `variables`          | A multi-line list of prompted variable values. Format: name:value. **NOTE** these values should not be enclosed in single-quotes (`'`)                                                                       |\n| `server`             | The instance URL hosting Octopus Deploy (i.e. \"https://octopus.example.com/\"). The instance URL is required, but you may also use the OCTOPUS_URL environment variable.                                      |\n| `api_key`            | The API key used to access Octopus Deploy. An API key is required, but you may also use the OCTOPUS_API_KEY environment variable. It is strongly recommended that this value retrieved from a GitHub secret. |\n| `space`              | The name of a space within which this command will be executed. The space name is required, but you may also use the OCTOPUS_SPACE environment variable.                                                     |\n\n## 📤 Outputs\n\n| Name           | Description                                                                                                                                                                                                                     |\n| :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `server_tasks` | JSON array of objects containing the Octopus Deploy server tasks Ids (`serverTaskId`) and tenant name (`tenantName`) for the executions tasks that were queued. Use the `await-task-action` to wait for any/all of these tasks. |\n\n## 🤝 Contributions\n\nContributions are welcome! :heart: Please read our [Contributing Guide](.github/CONTRIBUTING.md) for information about how to get involved in this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctopusdeploy%2Fdeploy-release-tenanted-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctopusdeploy%2Fdeploy-release-tenanted-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctopusdeploy%2Fdeploy-release-tenanted-action/lists"}