Skip to content

Commit

Permalink
test: check for excluded globs
Browse files Browse the repository at this point in the history
  • Loading branch information
matfax authored Sep 14, 2020
1 parent 2efcb48 commit 7a9d032
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ jobs:
run: |
echo "::error:: the generated file still contained an email address"
exit 1
- name: verify lack of LICENSE glob
continue-on-error: true
run: |
grep -q "LICENSE" .github/CODEOWNERS.test
echo "::set-env name=license::success"
- name: fail if license is detected
if: env.license == 'success'
run: |
echo "::error:: the generated file contained a LICENSE glob"
exit 1
- uses: actions/[email protected]
with:
name: ${{ github.job }}-owners
Expand Down

0 comments on commit 7a9d032

Please sign in to comment.