Discover Packages
github.com/mtyurt/drone-github-pr-commenter
command
module
Version:
v0.0.0-...-96b92ad
Opens a new window with list of versions in this module.
Published: Feb 15, 2022
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
A Drone CI plugin, for more information: https://docs.drone.io/plugins/overview/
Posts a comment to an issue/PR in Github.
Docker hub: https://hub.docker.com/repository/docker/mtyurt/drone-github-pr-commenter
Usage
kind: pipeline
type: docker
name: Build site for PR
trigger:
event: pull_request
- name: Add comment to PR
image: mtyurt/drone-github-pr-commenter
settings:
github_token: .....
comment: The branch is deployed successfully! 🚀
github_token : Some personal access token
comment : Comment body
issue_number : (optional) The issue/PR number to post for. If it is not provided, the PR build is running for is
used.
Test usage without Drone CI
docker run --rm -it \
-e PLUGIN_GITHUB_TOKEN=$GITHUB_TOKEN \
-e PLUGIN_COMMENT='This branch is deployed successfully! 🚀' \
-e DRONE_REPO_NAMESPACE=<ci-repo-owner> \
-e DRONE_REPO_NAME=<ci-repo-name> \
mtyurt/drone-github-pr-commenter:latest
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.