mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
d574ca6197
## Issue being fixed or feature implemented Should fix warnings like > The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ https://github.com/dashpay/dash/actions/runs/5705358251?pr=5448 https://github.com/dashpay/dash/actions/runs/5705358315?pr=5448 https://github.com/dashpay/dash/actions/runs/5705358316?pr=5448 https://github.com/dashpay/dash/actions/runs/5715249078?pr=5448 ## What was done? ## How Has This Been Tested? ## Breaking Changes ## 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
31 lines
770 B
YAML
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@v3
|
|
- name: validate potential conflicts
|
|
run: pip3 install hjson && .github/workflows/handle_potential_conflicts.py "$conflicts"
|