Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

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 }}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages