-
Notifications
You must be signed in to change notification settings - Fork 7
33 lines (32 loc) · 942 Bytes
/
diff.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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/[email protected]
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/[email protected]
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/[email protected]
with:
old: CHANGELOG.md
new: src/Packages/Passport/CHANGELOG.md
mode: strict
tolerance: same
output: changelog-diff.txt