Skip to content

besport/merge-conflict-action

 
 

Repository files navigation

merge-conflict-action

Github Action to notify merge conflict pulls

Usage

name: Notify merge conflict pulls

on:
  push:
    branches:
    - main

jobs:
  notify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: nokamoto/[email protected]
        with:
          owner: nokamoto
          repo: merge-conflict-action
          token: ${{ secrets.GITHUB_TOKEN }}
inputs description required default
owner A string identifier of the owner to retrieve merge conflict pulls. true
repo A string identifier of the repository to retrieve merge conflict pulls. true
token A string token to authenticate to Github. true
body A string body to create issue comments. false "Merge Conflict found"
dryrun A boolean to indicate whether the action creates actual issue comments. false "false"

How does it works?

flow.png

Build

npm run all

Test, lint, format, and build dist/index.js.

build-assets

npm run build-assets

Build docs/assets/svg/*.svg.

Release

Manual. Use the Github release web interface with auto-generate release notes.

About

Github Action to notify merge conflict pulls

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.1%
  • JavaScript 1.9%