Feature/pdct 633 add timeout exception to search api (#52) #90
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: main push checks | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check code contains no FIXME's | |
run: | | |
git grep -r --no-color ${case_sensitive} --line-number -e "FIXME" :^.github | |
if [[ $? -eq 0 ]]; then | |
# if we found any FIXME entries in checked in files, fail on main | |
exit 1 | |
else | |
exit 0 | |
fi | |
shell: bash {0} | |