-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure no release contains thirdparty libraries
- Loading branch information
Showing
2 changed files
with
32 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,26 @@ | ||
name: Clean Vendor Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- stable/* | ||
|
||
jobs: | ||
check-vendor: | ||
name: Clean Vendor Check | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code base | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check If Vendor Is Clean | ||
run: | | ||
files=`find vendor -maxdepth 1 -type d -not -name "ipl" -not -name "fortawesome" -not -name "composer" -not -name "vendor"` | ||
if [ -z "$files" ]; then | ||
echo "No unknown vendor files found"; | ||
exit 0; | ||
else | ||
echo "Found unknown vendor files: $files"; | ||
exit 1; | ||
fi |
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