Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/outsideris/potential-conflicts-checker-action

Check if this Pull Request can be conflict after other Pull Requests merged
https://github.com/outsideris/potential-conflicts-checker-action

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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](example.png)

## 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](https://github.com/outsideris/potential-conflicts-checker-action/blob/master/LICENSE).