{"id":25814648,"url":"https://github.com/cedrichopf/drone-status","last_synced_at":"2025-02-28T03:32:50.436Z","repository":{"id":54370998,"uuid":"339789440","full_name":"cedrichopf/drone-status","owner":"cedrichopf","description":"Drone CI Plugin for GitHub Status","archived":false,"fork":false,"pushed_at":"2023-03-07T22:45:32.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-05-09T10:38:58.464Z","etag":null,"topics":["continuous-integration","drone-ci","status"],"latest_commit_sha":null,"homepage":"","language":"Python","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/cedrichopf.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}},"created_at":"2021-02-17T16:41:44.000Z","updated_at":"2023-05-09T10:38:58.464Z","dependencies_parsed_at":"2023-01-18T17:01:28.863Z","dependency_job_id":null,"html_url":"https://github.com/cedrichopf/drone-status","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrichopf%2Fdrone-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrichopf%2Fdrone-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrichopf%2Fdrone-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrichopf%2Fdrone-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedrichopf","download_url":"https://codeload.github.com/cedrichopf/drone-status/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241095221,"owners_count":19908772,"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":["continuous-integration","drone-ci","status"],"created_at":"2025-02-28T03:32:49.832Z","updated_at":"2025-02-28T03:32:50.429Z","avatar_url":"https://github.com/cedrichopf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drone CI Plugin for GitHub Status\n\n- [Drone CI Plugin for GitHub Status](#drone-ci-plugin-for-github-status)\n  - [Overview](#overview)\n  - [Usage](#usage)\n  - [Settings](#settings)\n  - [Environment Variables](#environment-variables)\n\n---\n\n## Overview\n\nThis plugin creates/updates a GitHub status for a given repository and commit hash.\n\n## Usage\n\n```yaml\n---\nkind: pipeline\ntype: docker\nname: github-status\n\ntrigger:\n  event:\n    - pull_request\n\nsteps:\n  - name: create-status\n    image: cedrichopf/drone-status\n    settings:\n      api_token: 1234567890\n      state: success\n      context: drone-ci/status-plugin\n      description: Build successful\n```\n\n## Settings\n\n```yaml\nsettings:\n  api_token: 1234567890\n  state: success\n  context: drone-ci/status-plugin\n  description: Build successful\n  repo: cedrichopf/drone-status\n  commit: 9f11f66aa4a7338ced215fb212d16e12b0edce46\n  endpoint: https://github.enterprise.com\n```\n\nAll settings will be passed into the container using environment variables. A complete overview of the available\nenvironment variables can be found in the table below.\n\n## Environment Variables\n\nThe following table contains an overview of the available environment variables to configure the application.\n\n| Name               | Description                                                   | Default Value            |\n| ------------------ | ------------------------------------------------------------- | ------------------------ |\n| PLUGIN_API_TOKEN   | Access token to interact with the GitHub API                  | `-`                      |\n| PLUGIN_STATE       | State of the status: `error`, `failure`, `pending`, `success` | `-`                      |\n| PLUGIN_CONTEXT     | Status context, e.g. `drone/status-plugin`                    | `-`                      |\n| PLUGIN_DESCRIPTION | Status description, e.g. `Build is pending`                   | `-`                      |\n| PLUGIN_REPO        | Target repository to set the status                           | Pipeline repository      |\n| PLUGIN_COMMIT      | Status' commit hash                                           | Pipeline commit          |\n| PLUGIN_ENDPOINT    | Endpoint of the GitHub instance (e.g. GitHub Enterprise)      | `https://api.github.com` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrichopf%2Fdrone-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedrichopf%2Fdrone-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrichopf%2Fdrone-status/lists"}