command
module
Version:
v0.0.0-...-ed72b07
Opens a new window with list of versions in this module.
Published: Dec 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Drone GitHub Commit Status
Send a custom commit status to a GitHub commit from Drone CI.
GitHub setup requirements:
- Create a github app
- Get App ID (
github_app_id
)
- Generate private key
- Save private key as a Drone secret named 'github_app_private_key'
- Install the GitHub App
- Get the GitHub App installation ID (
github_installation_id
). This can be found from the URL: https://github.com/settings/installations/{github_installation_id}
Drone config example:
---
kind: pipeline
type: docker
name: push
platform:
os: linux
arch: amd64
steps:
- name: commit-status
image: robbymilo/drone-github-commit-status:latest
settings:
github_installation_id: {github_installation_id}
github_app_id: {github_app_id}
github_app_private_key:
from_secret: github_app_private_key
commit_context: drone-github-commit-status
commit_state: success
commit_description: Hello World
commit_target_url: https://github.com/robbymilo/drone-github-commit-status
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.