Skip to content

Check if this Pull Request can be conflict after other Pull Requests merged

License

Notifications You must be signed in to change notification settings

outsideris/potential-conflicts-checker-action

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

Repository files navigation

potential-conflicts-checker-action

When pull requests are created or updated, this action compare all other pull requests and then leaves comments on the pull requests if same files are changed, and there is any possibility to be conflicted when other pull requests merged first.

conflicts comment

Usage

You can create a .github/workflows/pr-conflicts.yml file:

name: check potential conflicts
on: pull_request

jobs:
  build:
    name: potential-conflicts-checker
    runs-on: ubuntu-latest
    steps:
      - uses: outsideris/[email protected]
        with:
          ghToken: ${{ secrets.GITHUB_TOKEN }}

This will trigger the action when a pull request is opened or updated. You'll need to include the ghToken environment variable!

License

Licensed under the MIT license.

About

Check if this Pull Request can be conflict after other Pull Requests merged

Resources

License

Stars

Watchers

Forks

Packages

No packages published