diff --git a/.github/workflows/diff.yml b/.github/workflows/diff.yml new file mode 100644 index 00000000..d18f9f65 --- /dev/null +++ b/.github/workflows/diff.yml @@ -0,0 +1,33 @@ +--- +name: "Check LICENSE/README/CHANGELOG" +on: [pull_request] + +jobs: + diff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Check that the LICENSE files are the exact same + uses: LouisBrunner/diff-action@v2.0.0 + with: + old: LICENSE.md + new: src/Packages/Passport/LICENSE.md + mode: strict + tolerance: same + output: LICENSE-diff.txt + - name: Check that the README files are the exact same + uses: LouisBrunner/diff-action@v2.0.0 + with: + old: README.md + new: src/Packages/Passport/README.md + mode: strict + tolerance: same + output: README-diff.txt + - name: Check that the CHANGELOG files are the exact same + uses: LouisBrunner/diff-action@v2.0.0 + with: + old: CHANGELOG.md + new: src/Packages/Passport/CHANGELOG.md + mode: strict + tolerance: same + output: changelog-diff.txt \ No newline at end of file diff --git a/LICENSE b/LICENSE.md similarity index 100% rename from LICENSE rename to LICENSE.md