This action counts any merge conflicts in your repository.
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 }}
Omar Al-Ithawi at Appsembler.
This action has been modified from
@OliverNybroe's action-conflict-finder
.