feat: Add exclude & allow-unknown options

This commit is contained in:
Ardalan Amini committed 2020-09-28 16:16:03 +03:30
1 parent 22d355a83e
commit ddb4b06bb9
6 files changed
+48 -5

No files matched your search

+19 -1
View File
@@ -20,4 +20,22 @@ jobs:
- uses: actions/checkout@v2
- uses: ./
with:
token: ${{secrets.GITHUB_TOKEN}}
token: ${{ secrets.GITHUB_TOKEN }}
test-with-exclude: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
exclude: 'chore,ci,build'
test-with-allow-unknown: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
allow-unknown: 'true'