├── .eslintignore ├── .eslintrc.json ├── .gitattributes ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug.yml │ └── question.yml ├── config │ └── exclude.txt ├── copilot-instructions.md ├── dependabot.yml └── workflows │ ├── actions-config-validation.yml │ ├── codeql-analysis.yml │ ├── copilot-setup-steps.yml │ ├── lint.yml │ ├── old │ └── sample-workflow.yml │ ├── package-check.yml │ ├── test.yml │ └── update-latest-release-tag.yml ├── .gitignore ├── .node-version ├── .prettierignore ├── .prettierrc.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── __tests__ ├── functions │ ├── actions-status.test.js │ ├── admin.test.js │ ├── branch-ruleset-checks.test.js │ ├── check-input.test.js │ ├── commit-safety-checks.test.js │ ├── context-check.test.js │ ├── deployment-confirmation.test.js │ ├── deployment.test.js │ ├── deprecated-checks.test.js │ ├── environment-targets.test.js │ ├── help.test.js │ ├── identical-commit-check.test.js │ ├── is-timestamp-older.test.js │ ├── label.test.js │ ├── lock.test.js │ ├── naked-command-check.test.js │ ├── outdated-check.test.js │ ├── params.test.js │ ├── post-deploy-message.test.js │ ├── post-deploy.test.js │ ├── post.test.js │ ├── prechecks.test.js │ ├── react-emote.test.js │ ├── string-to-array.test.js │ ├── time-diff.test.js │ ├── timestamp.test.js │ ├── trigger-check.test.js │ ├── truncate-comment-body.test.js │ ├── unlock-on-merge.test.js │ ├── unlock.test.js │ ├── valid-branch-name.test.js │ ├── valid-deployment-order.test.js │ └── valid-permissions.test.js ├── main.test.js ├── schemas │ └── action.schema.yml ├── setup.js ├── templates │ └── test_deployment_message.md └── version.test.js ├── action.yml ├── badges └── coverage.svg ├── dist ├── index.js ├── index.js.map ├── licenses.txt ├── package.json ├── sourcemap-register.cjs └── sourcemap-register.js ├── docs ├── assets │ ├── custom-comment.png │ ├── deployment-approved.png │ ├── deployment-rejected.png │ ├── deployment-timeout.png │ ├── ignore-ci-checks.png │ ├── only-using-checks-for-one-ci-job.png │ ├── pr-reviews.png │ ├── required-ci-checks-example.png │ ├── required-ci-checks.png │ ├── rules │ │ ├── mismatch_pull_request_dismiss_stale_reviews_on_push.png │ │ ├── mismatch_pull_request_require_code_owner_review.png │ │ ├── mismatch_pull_request_required_approving_review_count.png │ │ ├── mismatch_required_status_checks_strict_required_status_checks_policy.png │ │ ├── missing_deletion.png │ │ ├── missing_non_fast_forward.png │ │ ├── missing_pull_request.png │ │ └── missing_required_deployments.png │ ├── sha-deployment.png │ ├── ship-it.jpg │ └── update-branch-setting.png ├── branch-rulesets.md ├── checks.md ├── custom-deployment-messages.md ├── deploying-commit-SHAs.md ├── deployment-confirmation.md ├── deployment-payload.md ├── deprecated.md ├── enforced-deployment-order.md ├── examples.md ├── hubot-style-deployment-locks.md ├── locks.md ├── maintainer-guide.md ├── merge-commit-strategy.md ├── naked-commands.md ├── outdated_mode.md ├── parameters.md ├── sha-deployments.md ├── unlock-on-merge.md └── usage.md ├── events ├── context.json ├── issue_comment_deploy.json ├── issue_comment_deploy_main.json └── issue_comment_deploy_noop.json ├── package.json ├── script └── release ├── src ├── functions │ ├── action-status.js │ ├── admin.js │ ├── api-headers.js │ ├── branch-ruleset-checks.js │ ├── check-input.js │ ├── check-lock-file.js │ ├── colors.js │ ├── commit-safety-checks.js │ ├── context-check.js │ ├── deployment-confirmation.js │ ├── deployment.js │ ├── deprecated-checks.js │ ├── environment-targets.js │ ├── help.js │ ├── identical-commit-check.js │ ├── inputs.js │ ├── is-timestamp-older.js │ ├── label.js │ ├── lock-metadata.js │ ├── lock.js │ ├── naked-command-check.js │ ├── outdated-check.js │ ├── params.js │ ├── post-deploy-message.js │ ├── post-deploy.js │ ├── post.js │ ├── prechecks.js │ ├── react-emote.js │ ├── string-to-array.js │ ├── suggested-rulesets.js │ ├── templates │ │ └── error.js │ ├── time-diff.js │ ├── timestamp.js │ ├── trigger-check.js │ ├── truncate-comment-body.js │ ├── unlock-on-merge.js │ ├── unlock.js │ ├── valid-branch-name.js │ ├── valid-deployment-order.js │ └── valid-permissions.js ├── main.js └── version.js └── vitest.config.js /.eslintignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | dist/** -diff linguist-generated=true 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @GrantBirki 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/ISSUE_TEMPLATE/bug.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/ISSUE_TEMPLATE/question.yml -------------------------------------------------------------------------------- /.github/config/exclude.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/config/exclude.txt -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/actions-config-validation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/workflows/actions-config-validation.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/copilot-setup-steps.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/workflows/copilot-setup-steps.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/old/sample-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/workflows/old/sample-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/package-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/workflows/package-check.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/update-latest-release-tag.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.github/workflows/update-latest-release-tag.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.gitignore -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | 24.9.0 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/functions/actions-status.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/actions-status.test.js -------------------------------------------------------------------------------- /__tests__/functions/admin.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/admin.test.js -------------------------------------------------------------------------------- /__tests__/functions/branch-ruleset-checks.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/branch-ruleset-checks.test.js -------------------------------------------------------------------------------- /__tests__/functions/check-input.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/check-input.test.js -------------------------------------------------------------------------------- /__tests__/functions/commit-safety-checks.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/commit-safety-checks.test.js -------------------------------------------------------------------------------- /__tests__/functions/context-check.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/context-check.test.js -------------------------------------------------------------------------------- /__tests__/functions/deployment-confirmation.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/deployment-confirmation.test.js -------------------------------------------------------------------------------- /__tests__/functions/deployment.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/deployment.test.js -------------------------------------------------------------------------------- /__tests__/functions/deprecated-checks.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/deprecated-checks.test.js -------------------------------------------------------------------------------- /__tests__/functions/environment-targets.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/environment-targets.test.js -------------------------------------------------------------------------------- /__tests__/functions/help.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/help.test.js -------------------------------------------------------------------------------- /__tests__/functions/identical-commit-check.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/identical-commit-check.test.js -------------------------------------------------------------------------------- /__tests__/functions/is-timestamp-older.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/is-timestamp-older.test.js -------------------------------------------------------------------------------- /__tests__/functions/label.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/label.test.js -------------------------------------------------------------------------------- /__tests__/functions/lock.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/lock.test.js -------------------------------------------------------------------------------- /__tests__/functions/naked-command-check.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/naked-command-check.test.js -------------------------------------------------------------------------------- /__tests__/functions/outdated-check.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/outdated-check.test.js -------------------------------------------------------------------------------- /__tests__/functions/params.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/params.test.js -------------------------------------------------------------------------------- /__tests__/functions/post-deploy-message.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/post-deploy-message.test.js -------------------------------------------------------------------------------- /__tests__/functions/post-deploy.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/post-deploy.test.js -------------------------------------------------------------------------------- /__tests__/functions/post.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/post.test.js -------------------------------------------------------------------------------- /__tests__/functions/prechecks.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/prechecks.test.js -------------------------------------------------------------------------------- /__tests__/functions/react-emote.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/react-emote.test.js -------------------------------------------------------------------------------- /__tests__/functions/string-to-array.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/string-to-array.test.js -------------------------------------------------------------------------------- /__tests__/functions/time-diff.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/time-diff.test.js -------------------------------------------------------------------------------- /__tests__/functions/timestamp.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/timestamp.test.js -------------------------------------------------------------------------------- /__tests__/functions/trigger-check.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/trigger-check.test.js -------------------------------------------------------------------------------- /__tests__/functions/truncate-comment-body.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/truncate-comment-body.test.js -------------------------------------------------------------------------------- /__tests__/functions/unlock-on-merge.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/unlock-on-merge.test.js -------------------------------------------------------------------------------- /__tests__/functions/unlock.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/unlock.test.js -------------------------------------------------------------------------------- /__tests__/functions/valid-branch-name.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/valid-branch-name.test.js -------------------------------------------------------------------------------- /__tests__/functions/valid-deployment-order.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/valid-deployment-order.test.js -------------------------------------------------------------------------------- /__tests__/functions/valid-permissions.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/functions/valid-permissions.test.js -------------------------------------------------------------------------------- /__tests__/main.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/main.test.js -------------------------------------------------------------------------------- /__tests__/schemas/action.schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/schemas/action.schema.yml -------------------------------------------------------------------------------- /__tests__/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/setup.js -------------------------------------------------------------------------------- /__tests__/templates/test_deployment_message.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/templates/test_deployment_message.md -------------------------------------------------------------------------------- /__tests__/version.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/__tests__/version.test.js -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/action.yml -------------------------------------------------------------------------------- /badges/coverage.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/badges/coverage.svg -------------------------------------------------------------------------------- /dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/dist/index.js -------------------------------------------------------------------------------- /dist/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/dist/index.js.map -------------------------------------------------------------------------------- /dist/licenses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/dist/licenses.txt -------------------------------------------------------------------------------- /dist/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } 4 | -------------------------------------------------------------------------------- /dist/sourcemap-register.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/dist/sourcemap-register.cjs -------------------------------------------------------------------------------- /dist/sourcemap-register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/dist/sourcemap-register.js -------------------------------------------------------------------------------- /docs/assets/custom-comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/custom-comment.png -------------------------------------------------------------------------------- /docs/assets/deployment-approved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/deployment-approved.png -------------------------------------------------------------------------------- /docs/assets/deployment-rejected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/deployment-rejected.png -------------------------------------------------------------------------------- /docs/assets/deployment-timeout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/deployment-timeout.png -------------------------------------------------------------------------------- /docs/assets/ignore-ci-checks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/ignore-ci-checks.png -------------------------------------------------------------------------------- /docs/assets/only-using-checks-for-one-ci-job.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/only-using-checks-for-one-ci-job.png -------------------------------------------------------------------------------- /docs/assets/pr-reviews.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/pr-reviews.png -------------------------------------------------------------------------------- /docs/assets/required-ci-checks-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/required-ci-checks-example.png -------------------------------------------------------------------------------- /docs/assets/required-ci-checks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/required-ci-checks.png -------------------------------------------------------------------------------- /docs/assets/rules/mismatch_pull_request_dismiss_stale_reviews_on_push.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/rules/mismatch_pull_request_dismiss_stale_reviews_on_push.png -------------------------------------------------------------------------------- /docs/assets/rules/mismatch_pull_request_require_code_owner_review.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/rules/mismatch_pull_request_require_code_owner_review.png -------------------------------------------------------------------------------- /docs/assets/rules/mismatch_pull_request_required_approving_review_count.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/rules/mismatch_pull_request_required_approving_review_count.png -------------------------------------------------------------------------------- /docs/assets/rules/mismatch_required_status_checks_strict_required_status_checks_policy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/rules/mismatch_required_status_checks_strict_required_status_checks_policy.png -------------------------------------------------------------------------------- /docs/assets/rules/missing_deletion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/rules/missing_deletion.png -------------------------------------------------------------------------------- /docs/assets/rules/missing_non_fast_forward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/rules/missing_non_fast_forward.png -------------------------------------------------------------------------------- /docs/assets/rules/missing_pull_request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/rules/missing_pull_request.png -------------------------------------------------------------------------------- /docs/assets/rules/missing_required_deployments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/rules/missing_required_deployments.png -------------------------------------------------------------------------------- /docs/assets/sha-deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/sha-deployment.png -------------------------------------------------------------------------------- /docs/assets/ship-it.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/ship-it.jpg -------------------------------------------------------------------------------- /docs/assets/update-branch-setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/assets/update-branch-setting.png -------------------------------------------------------------------------------- /docs/branch-rulesets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/branch-rulesets.md -------------------------------------------------------------------------------- /docs/checks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/checks.md -------------------------------------------------------------------------------- /docs/custom-deployment-messages.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/custom-deployment-messages.md -------------------------------------------------------------------------------- /docs/deploying-commit-SHAs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/deploying-commit-SHAs.md -------------------------------------------------------------------------------- /docs/deployment-confirmation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/deployment-confirmation.md -------------------------------------------------------------------------------- /docs/deployment-payload.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/deployment-payload.md -------------------------------------------------------------------------------- /docs/deprecated.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/deprecated.md -------------------------------------------------------------------------------- /docs/enforced-deployment-order.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/enforced-deployment-order.md -------------------------------------------------------------------------------- /docs/examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/examples.md -------------------------------------------------------------------------------- /docs/hubot-style-deployment-locks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/hubot-style-deployment-locks.md -------------------------------------------------------------------------------- /docs/locks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/locks.md -------------------------------------------------------------------------------- /docs/maintainer-guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/maintainer-guide.md -------------------------------------------------------------------------------- /docs/merge-commit-strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/merge-commit-strategy.md -------------------------------------------------------------------------------- /docs/naked-commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/naked-commands.md -------------------------------------------------------------------------------- /docs/outdated_mode.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/outdated_mode.md -------------------------------------------------------------------------------- /docs/parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/parameters.md -------------------------------------------------------------------------------- /docs/sha-deployments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/sha-deployments.md -------------------------------------------------------------------------------- /docs/unlock-on-merge.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/unlock-on-merge.md -------------------------------------------------------------------------------- /docs/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/docs/usage.md -------------------------------------------------------------------------------- /events/context.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/events/context.json -------------------------------------------------------------------------------- /events/issue_comment_deploy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/events/issue_comment_deploy.json -------------------------------------------------------------------------------- /events/issue_comment_deploy_main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/events/issue_comment_deploy_main.json -------------------------------------------------------------------------------- /events/issue_comment_deploy_noop.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/events/issue_comment_deploy_noop.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/package.json -------------------------------------------------------------------------------- /script/release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/script/release -------------------------------------------------------------------------------- /src/functions/action-status.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/action-status.js -------------------------------------------------------------------------------- /src/functions/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/admin.js -------------------------------------------------------------------------------- /src/functions/api-headers.js: -------------------------------------------------------------------------------- 1 | export const API_HEADERS = { 2 | 'X-GitHub-Api-Version': '2022-11-28' 3 | } 4 | -------------------------------------------------------------------------------- /src/functions/branch-ruleset-checks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/branch-ruleset-checks.js -------------------------------------------------------------------------------- /src/functions/check-input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/check-input.js -------------------------------------------------------------------------------- /src/functions/check-lock-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/check-lock-file.js -------------------------------------------------------------------------------- /src/functions/colors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/colors.js -------------------------------------------------------------------------------- /src/functions/commit-safety-checks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/commit-safety-checks.js -------------------------------------------------------------------------------- /src/functions/context-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/context-check.js -------------------------------------------------------------------------------- /src/functions/deployment-confirmation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/deployment-confirmation.js -------------------------------------------------------------------------------- /src/functions/deployment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/deployment.js -------------------------------------------------------------------------------- /src/functions/deprecated-checks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/deprecated-checks.js -------------------------------------------------------------------------------- /src/functions/environment-targets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/environment-targets.js -------------------------------------------------------------------------------- /src/functions/help.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/help.js -------------------------------------------------------------------------------- /src/functions/identical-commit-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/identical-commit-check.js -------------------------------------------------------------------------------- /src/functions/inputs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/inputs.js -------------------------------------------------------------------------------- /src/functions/is-timestamp-older.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/is-timestamp-older.js -------------------------------------------------------------------------------- /src/functions/label.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/label.js -------------------------------------------------------------------------------- /src/functions/lock-metadata.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/lock-metadata.js -------------------------------------------------------------------------------- /src/functions/lock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/lock.js -------------------------------------------------------------------------------- /src/functions/naked-command-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/naked-command-check.js -------------------------------------------------------------------------------- /src/functions/outdated-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/outdated-check.js -------------------------------------------------------------------------------- /src/functions/params.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/params.js -------------------------------------------------------------------------------- /src/functions/post-deploy-message.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/post-deploy-message.js -------------------------------------------------------------------------------- /src/functions/post-deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/post-deploy.js -------------------------------------------------------------------------------- /src/functions/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/post.js -------------------------------------------------------------------------------- /src/functions/prechecks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/prechecks.js -------------------------------------------------------------------------------- /src/functions/react-emote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/react-emote.js -------------------------------------------------------------------------------- /src/functions/string-to-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/string-to-array.js -------------------------------------------------------------------------------- /src/functions/suggested-rulesets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/suggested-rulesets.js -------------------------------------------------------------------------------- /src/functions/templates/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/templates/error.js -------------------------------------------------------------------------------- /src/functions/time-diff.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/time-diff.js -------------------------------------------------------------------------------- /src/functions/timestamp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/timestamp.js -------------------------------------------------------------------------------- /src/functions/trigger-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/trigger-check.js -------------------------------------------------------------------------------- /src/functions/truncate-comment-body.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/truncate-comment-body.js -------------------------------------------------------------------------------- /src/functions/unlock-on-merge.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/unlock-on-merge.js -------------------------------------------------------------------------------- /src/functions/unlock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/unlock.js -------------------------------------------------------------------------------- /src/functions/valid-branch-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/valid-branch-name.js -------------------------------------------------------------------------------- /src/functions/valid-deployment-order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/valid-deployment-order.js -------------------------------------------------------------------------------- /src/functions/valid-permissions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/functions/valid-permissions.js -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/main.js -------------------------------------------------------------------------------- /src/version.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/src/version.js -------------------------------------------------------------------------------- /vitest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/branch-deploy/HEAD/vitest.config.js --------------------------------------------------------------------------------