mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
33 lines
805 B
YAML
33 lines
805 B
YAML
name: "Check Potential Conflicts"
|
|
|
|
on:
|
|
pull_request_target:
|
|
pull_request_review:
|
|
types: [submitted]
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
# Enforce other not needed permissions are off
|
|
actions: none
|
|
checks: none
|
|
deployments: none
|
|
issues: none
|
|
packages: none
|
|
repository-projects: none
|
|
security-events: none
|
|
statuses: none
|
|
|
|
jobs:
|
|
predict_conflicts:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: check for potential conflicts
|
|
uses: PastaPastaPasta/potential-conflicts-checker-action@v0.1.10
|
|
with:
|
|
ghToken: "${{ secrets.GITHUB_TOKEN }}"
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: validate potential conflicts
|
|
run: pip3 install hjson && .github/workflows/handle_potential_conflicts.py "$conflicts"
|