Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 956 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 956 Bytes

Merge Conflict Counter

This action counts any merge conflicts in your repository.

How to use it?

Reuse the template below by placing it in your repository's workflows e.g. .github/workflow/conflicts_report.yml:

on: [pull_request]
name: 'Merge conflicts'

jobs:
  report:
    name: 'Report'
    uses: appsembler/action-conflict-counter/.github/workflows/report-via-comment.yml
    with:
      local_base_branch: 'main'  # Your repositories main/master branch name
      upstream_repo: 'https://github.com/edx/edx-platform.git'  # Upstream repository that you've forked from
      upstream_branches: 'master,open-release/maple.master'  # Upstream repository's main/master branch name
    secrets:
      custom_github_token: ${{ secrets.GITHUB_TOKEN }}

Author

Omar Al-Ithawi at Appsembler.

This action has been modified from @OliverNybroe's action-conflict-finder.