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: main: 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"