-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: diff github action to check license/readme/changelog files
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: "Check LICENSE/README/CHANGELOG diff" | ||
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 |
File renamed without changes.