Workflow file for this run
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
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 | |
exit 0; | |
else | |
exit 1; | |
fi |