Skip to main content

Simple updates to SHA commits with CI the status

Project description

A simple interface for updating SHA1s for PRs with statuses. Made for Jenkins initially, altough a command line tool, it mostly consumes environment variables to set states on commits.

Github Environment Variables:

  • GITHUB_REPOSITORY The url part of the repo, like ceph/ceph

  • GITHUB_SHA A commit SHA that will receive the update

  • GITHUB_OAUTH_TOKEN Generated TOKEN to authenticate to Github

  • GITHUB_STATUS_CONTEXT The “title” part of the status, like “docs”

  • GITHUB_STATUS_STARTED The ‘started’ text that will change next to the ‘title’ (context)

  • GITHUB_STATUS_SUCCESS The ‘success’ text that will change next to the ‘title’ (context)

  • GITHUB_STATUS_FAILURE The ‘failure’ text that will change next to the ‘title’ (context)

  • GITHUB_STATUS_ERROR The ‘error’ text that will change next to the ‘title’ (context)

  • GITHUB_STATUS_STATE The state for the sha1, one of: ‘success’, ‘error’, ‘failure’, or ‘pending’

Build Environment Variables:

  • BUILD_URL A url that points to the actual full url for the build

  • PARENT_BUILD_URL Optional parent url where actual build happened

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github-status-0.0.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file github-status-0.0.2.tar.gz.

File metadata

  • Download URL: github-status-0.0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for github-status-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9b600b9982967e305624d91be24793cdc7383adca9cdfb50a75e0db346ebf7c0
MD5 a2432572ffc3c0d2e81f8e708259de86
BLAKE2b-256 a14b2aff9339cad1becc8fc98cb740a92e7ffe94b41048b286cd44a4f065cc95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page