From dea71e796fb034ef8e930089c48790640655d0a3 Mon Sep 17 00:00:00 2001 From: Pasta Date: Wed, 29 Dec 2021 12:44:32 -0600 Subject: [PATCH 1/2] add predict-conflicts.yml --- .github/workflows/predict-conflicts.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/predict-conflicts.yml diff --git a/.github/workflows/predict-conflicts.yml b/.github/workflows/predict-conflicts.yml new file mode 100644 index 0000000000000..2a99c8e96133f --- /dev/null +++ b/.github/workflows/predict-conflicts.yml @@ -0,0 +1,25 @@ +name: "Check Potential Conflicts" +on: pull_request + +permissions: + contents: read + pull-requests: write + # Enforce other not needed permissions are off + actions: none + checks: none + deployments: none + issues: none + #metadata: read + packages: none + repository-projects: none + security-events: none + statuses: none + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: check potential conflicts + uses: outsideris/potential-conflicts-checker-action@0.1.0 + with: + ghToken: "${{ secrets.GITHUB_TOKEN }}" From c56a43c9002a61845d5e50d8ba63d6e64fce0bbc Mon Sep 17 00:00:00 2001 From: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Date: Wed, 29 Dec 2021 14:20:50 -0500 Subject: [PATCH 2/2] remove commented out permission --- .github/workflows/predict-conflicts.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/predict-conflicts.yml b/.github/workflows/predict-conflicts.yml index 2a99c8e96133f..711e2c3ed7086 100644 --- a/.github/workflows/predict-conflicts.yml +++ b/.github/workflows/predict-conflicts.yml @@ -9,7 +9,6 @@ permissions: checks: none deployments: none issues: none - #metadata: read packages: none repository-projects: none security-events: none