dash/.github/workflows/predict-conflicts.yml
UdjinM6 a91eace041
chore/feat: few tweaks for "Check Potential Conflicts" action (#5330)
## Issue being fixed or feature implemented
small cleanups and improvements

## What was done?
pls see individual commits

## How Has This Been Tested?
see
https://github.com/dashpay/dash/actions/runs/4715728701/jobs/8362893373?pr=5330

## Breaking Changes
n/a

## Checklist:
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added or updated relevant unit/integration/functional/e2e
tests
- [ ] I have made corresponding changes to the documentation
- [x] I have assigned this pull request to a milestone _(for repository
code-owners and collaborators only)_
2023-04-17 01:41:18 +03:00

31 lines
770 B
YAML

name: "Check Potential Conflicts"
on:
- pull_request_target
- pull_request_review
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@v2
- name: validate potential conflicts
run: pip3 install hjson && .github/workflows/handle_potential_conflicts.py "$conflicts"