{"id":5885561,"name":"github/lock","ecosystem":"actions","description":"Lock Action to support deployment locking for the branch-deploy Action","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/github/lock","keywords_array":["actions","ci","deployments","github-actions","lock"],"namespace":"github","versions_count":19,"first_release_published_at":"2022-11-01T03:46:44.000Z","latest_release_published_at":"2025-11-26T22:09:34.000Z","latest_release_number":"v3.0.1","last_synced_at":"2026-03-27T15:36:19.756Z","created_at":"2023-01-16T00:43:53.017Z","updated_at":"2026-03-27T15:36:19.757Z","registry_url":"https://github.com/github/lock","install_command":null,"documentation_url":null,"metadata":{"name":"deploy-lock","description":"Lock Action to support deployment locking for the branch-deploy Action","author":"Grant Birkinbine","branding":{"icon":"lock","color":"gray-dark"},"inputs":{"github_token":{"description":"The GitHub token used to create an authenticated client - Provided for you by default!","default":"${{ github.token }}","required":true},"environment":{"description":"The explict environment to apply locking actions to when running in headless mode - OR the default environment to use when running in the context of IssueOps commands in a comment - Examples: production, development, etc - Use \"global\" for the global lock environment","required":true,"default":"production"},"environment_targets":{"description":"Optional (or additional) target environments to select for use with lock/unlock. Example, \"production,development,staging\". Example  usage: `.lock development`, `.lock production`, `.unlock staging`","required":false,"default":"production,development,staging"},"lock_trigger":{"description":"The string to look for in comments as an IssueOps lock trigger. Used for locking branch deployments on a specific branch. Example: \"lock\"","required":false,"default":".lock"},"unlock_trigger":{"description":"The string to look for in comments as an IssueOps unlock trigger. Used for unlocking branch deployments. Example: \"unlock\"","required":false,"default":".unlock"},"reaction":{"description":"If set, the specified emoji \"reaction\" is put on the comment to indicate that the trigger was detected. For example, \"rocket\" or \"eyes\"","required":false,"default":"eyes"},"lock_info_alias":{"description":"An alias or shortcut to get details about the current lock (if it exists) Example: \".info\"","required":false,"default":".wcid"},"global_lock_flag":{"description":"The flag to pass into the lock command to lock all environments. Example: \"--global\"","required":false,"default":"--global"},"prefix_only":{"description":"If \"false\", the trigger can match anywhere in the comment","required":false,"default":"true"},"mode":{"description":"The mode to use \"lock\", \"unlock\", or \"check\". If not provided, the default mode assumes the workflow is not headless and triggered by a comment on a pull request - Example: .lock / .unlock","required":false},"reason":{"description":"Reason for claiming the deployment lock for this repository","required":false}},"outputs":{"triggered":{"description":"The string \"true\" if the trigger was found, otherwise the string \"false\""},"comment_id":{"description":"The comment id which triggered this deployment (if it was not headless)"},"type":{"description":"The type of trigger which was found - 'lock', 'unlock', or 'info-info-alias'"},"comment_body":{"description":"The comment body which triggered this action (if it was not headless)"},"headless":{"description":"The string \"true\" if the run was headless, otherwise the string \"false\" - Headless in this context would be if the \"mode\" was set and the Action was not invoked by a comment on a pull request"},"locked":{"description":"If the mode is set to \"check\", this output will be \"true\" if a lock exists, otherwise \"false\""},"lock_environment":{"description":"When running in headless mode and the \"mode\" is set to \"check\", this output will be the environment name that holds the lock, otherwise it will be empty"},"branch":{"description":"If the mode is set to \"check\", this output will be the branch name that holds the lock, otherwise it will be empty"},"created_by":{"description":"If the mode is set to \"check\", this output will be the user that holds the lock, otherwise it will be empty"},"created_at":{"description":"If the mode is set to \"check\", this output will be the ISO 8601 format date that the lock was claimed, otherwise it will be empty"},"reason":{"description":"If the mode is set to \"check\", this output will be the reason the deployment lock was claimed, otherwise it will be empty"},"link":{"description":"If the mode is set to \"check\", this output will be the link to the GitHub issue comment or action run that claimed the lock, otherwise it will be empty"},"global_lock_claimed":{"description":"The string \"true\" if the global lock was claimed"},"global_lock_released":{"description":"The string \"true\" if the global lock was released"}},"runs":{"using":"node24","main":"dist/index.js"},"default_branch":"main","path":null},"repo_metadata":{"id":64166703,"uuid":"560174038","full_name":"github/lock","owner":"github","description":"Lock Action to support deployment locking for the branch-deploy Action","archived":false,"fork":false,"pushed_at":"2026-02-01T11:23:35.000Z","size":2521,"stargazers_count":53,"open_issues_count":6,"forks_count":9,"subscribers_count":62,"default_branch":"main","last_synced_at":"2026-02-09T23:44:04.756Z","etag":null,"topics":["actions","ci","deployments","github-actions","lock"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/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-10-31T22:28:14.000Z","updated_at":"2026-02-05T08:36:13.000Z","dependencies_parsed_at":"2024-01-16T15:40:30.818Z","dependency_job_id":"f7e8be40-a0eb-4264-90bd-67f1c9153d6d","html_url":"https://github.com/github/lock","commit_stats":{"total_commits":133,"total_committers":4,"mean_commits":33.25,"dds":0.03007518796992481,"last_synced_commit":"9b216a7eea43cafeeba3118e945b10c48055255a"},"previous_names":["grantbirki/lock"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/github/lock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Flock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Flock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Flock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Flock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/lock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Flock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29650506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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"},"owner_record":{"login":"github","name":"GitHub","uuid":"9919","kind":"organization","description":"How people build software.","email":null,"website":"https://github.com/about","location":"San Francisco, CA","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/9919?v=4","repositories_count":462,"last_synced_at":"2023-04-09T06:36:30.344Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/github","funding_links":[],"total_stars":423165,"followers":null,"following":null,"created_at":"2022-11-02T16:22:19.308Z","updated_at":"2023-04-09T06:36:32.228Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-02-20T12:58:03.920Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.766281096498176,"dependent_packages_count":0.0,"stargazers_count":8.049437490096658,"forks_count":7.421961654254476,"docker_downloads_count":null,"average":10.059420060212327},"purl":"pkg:githubactions/github/lock","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/github/lock","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/github/lock","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/github/lock/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-30T01:15:06.185Z","issues_count":9,"pull_requests_count":57,"avg_time_to_close_issue":1549403.6666666667,"avg_time_to_close_pull_request":1249925.2037037036,"issues_closed_count":6,"pull_requests_closed_count":54,"pull_request_authors_count":4,"issue_authors_count":8,"avg_comments_per_issue":2.111111111111111,"avg_comments_per_pull_request":0.7894736842105263,"merged_pull_requests_count":38,"bot_issues_count":0,"bot_pull_requests_count":32,"past_year_issues_count":3,"past_year_pull_requests_count":18,"past_year_avg_time_to_close_issue":432546.0,"past_year_avg_time_to_close_pull_request":2657076.1333333333,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":15,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":0.4444444444444444,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":15,"past_year_merged_pull_requests_count":9,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Flock/issues","maintainers":[{"login":"GrantBirki","count":30,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/GrantBirki"}],"active_maintainers":[{"login":"GrantBirki","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/GrantBirki"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Flock/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Flock/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Flock/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Flock/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Flock/codemeta","maintainers":[]}