Merge pull request #165 from harmony-one/husky #8
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: Prevent AppConfig.plist Push | |
on: [push, pull_request] | |
jobs: | |
check-appconfig: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Check for AppConfig.plist | |
run: | | |
if git ls-files | grep -q 'AppConfig.plist'; then | |
echo "AppConfig.plist file detected. Failing the workflow." | |
exit 1 | |
fi | |