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: 0

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