labelcommit

command module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 7 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.

README

labelcommit

labelcommit is github actions that merge pull request with commit message including pull request labels.

see example below. https://github.com/0daryo/labelcommit/pull/5

Usage

  1. Write your workflow file.
- name: labelcommit
  # uses: 0daryo/labelcommit@main
  # specifying prebuilt docker image is faster.
  uses: docker://0daryo/labelcommit:latest

https://github.com/0daryo/labelcommit/blob/main/.github/workflows/commitlabel.yaml

  1. comment /merge on github pull request comment.

  2. pull request is merged, and commit message includes labels.

fix: readme
- documentation
- enhancement

Parameters

You need to set parameters in workflow.

github: token: ${{ secrets.GITHUB_TOKEN }}
owner: repository owner
repo: repository name
pr number: ${{ github.event.issue.number }}
comment: ${{ github.event.comment.body }}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL