{"id":28033004,"url":"https://github.com/rsotnychenko/deployment-status-update","last_synced_at":"2025-06-23T05:10:19.111Z","repository":{"id":65161599,"uuid":"214503932","full_name":"rsotnychenko/deployment-status-update","owner":"rsotnychenko","description":"This action lets you easily update status of a Deployment on GitHub. Learn more at https://developer.github.com/v3/repos/deployments/#create-a-deployment-status","archived":false,"fork":false,"pushed_at":"2023-08-22T19:24:50.000Z","size":27,"stargazers_count":11,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-30T07:36:20.149Z","etag":null,"topics":["action","deployment","github-deployment","status"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/rsotnychenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-10-11T18:23:44.000Z","updated_at":"2024-10-25T02:31:31.000Z","dependencies_parsed_at":"2025-05-11T09:07:50.536Z","dependency_job_id":"430cd8b5-17f2-44ec-83fe-64d167767adb","html_url":"https://github.com/rsotnychenko/deployment-status-update","commit_stats":{"total_commits":9,"total_committers":3,"mean_commits":3.0,"dds":0.4444444444444444,"last_synced_commit":"9a0b45632a84c0425540fd87d9d57c0150ae3774"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/rsotnychenko/deployment-status-update","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsotnychenko%2Fdeployment-status-update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsotnychenko%2Fdeployment-status-update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsotnychenko%2Fdeployment-status-update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsotnychenko%2Fdeployment-status-update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsotnychenko","download_url":"https://codeload.github.com/rsotnychenko/deployment-status-update/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsotnychenko%2Fdeployment-status-update/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261417608,"owners_count":23155078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["action","deployment","github-deployment","status"],"created_at":"2025-05-11T09:07:46.143Z","updated_at":"2025-06-23T05:10:14.096Z","avatar_url":"https://github.com/rsotnychenko.png","language":"Shell","readme":"# Deployment Status Update Action\n\nThis action lets you easily update status of a Deployment on GitHub. Learn more at [GitHub Documentation](https://developer.github.com/v3/repos/deployments/#create-a-deployment-status).\n\n## Action inputs\n\n| Name            | Required | Default value  | Description                                                                                                                                                                                                                                               |\n|-----------------|----------|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| run_id          | **yes**  |                | Set this to `${{ github.run_id }}` so the deployment status log URL can be properly set.                                                                                                                                                                  |\n| status          | **yes**  |               | Desired status of the Deployment. Can be one of `error`, `failure`, `inactive`, `in_progress`, `queued`, `pending` or `success`                                                                                                                           |\n| description     | no       | \u003cempty string\u003e | A short description of the status. The maximum description length is 140 characters.                                                                                                                                                                      |\n| auto_inactive   | no       | true           | Adds a new inactive status to all prior non-transient, non-production environment deployments with the same repository and environment name as the created status's deployment. An inactive status is only added to deployments that had a success state. |\n| environment_url | no       | \u003cempty string\u003e | Sets the URL for accessing your environment.                                                                                                                                                                                                              |\n| deployment_status_url | no       | (loaded from event) | Explicitly specify the deployment status URL to post the deployment status to. Normally, this will be auto-detected from the GitHub Actions [`DeploymentEvent`](https://developer.github.com/v3/activity/events/types/#deploymentevent) payload. However, if you are runnning from another event type or want to override the deployment to update, you can manually specify the full `https://api.github.com/repos/:owner/:repo/deployments/:deployment_id/statuses` URL here. |\n\n## Action outputs\n\n| Name          | Sample value                             | Description                              |\n|---------------|------------------------------------------|------------------------------------------|\n| deployment_id | 172882398                                | An ID of the deployment in GitHub        |\n| description   | A sample deployment                      | Description of the deployment            |\n| state         | queued                                   | Deployment state                         |\n| ref           | release/1.0.62                           | Branch/tag name of the deployment source |\n| sha           | 1c13ba1c6fbebaf06f188e2b1704fe1706204ef4 | Revision of the deployment source        |\n| environment   | production                               | Environment name                         |\n| payload       | {\"canary\": \"false\"}                      | Payload                                  |\n\n## Example\nThis example demonstrates a simple delivery pipeline that updates deployment status.\n\n```yml\nname: Delivery pipeline\n\non: [deployment]\n\njobs:\n  deploy:\n    runs-on: ubuntu-18.04\n    steps:\n      - uses: actions/checkout@v1\n      - id: set_state_in_progress\n        name: Set deployment status to [in_progress]\n        uses: rsotnychenko/deployment-status-update@0.2.1\n        with:\n          run_id: ${{ github.run_id }}\n          status: in_progress\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Deploy to GAE\n        uses: exelban/gcloud@264.0.0\n        env:\n          PROJECT_ID: ${{ secrets.GCLOUD_PROJECT }}\n          APPLICATION_CREDENTIALS: ${{ secrets.GCLOUD_TOKEN }}\n        with:\n          args: app deploy\n      - id: set_state_final\n        if: always()\n        name: Set deployment status\n        uses: rsotnychenko/deployment-status-update@0.2.1\n        with:\n          status: ${{ job.status }}\n          run_id: ${{ github.run_id }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      # TODO: Add rollback operations\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsotnychenko%2Fdeployment-status-update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsotnychenko%2Fdeployment-status-update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsotnychenko%2Fdeployment-status-update/lists"}