Add working-directory input (#21)

This commit is contained in:
Michal Dorner 2020-07-02 22:56:14 +02:00
parent 14dd70c742
commit caef9bef1f
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
5 changed files with 29 additions and 0 deletions

View file

@ -54,3 +54,19 @@ jobs:
- name: filter-test
if: steps.filter.outputs.any != 'true' || steps.filter.outputs.error == 'true'
run: exit 1
test-wd-without-token:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: somewhere
- uses: ./somewhere
id: filter
with:
token: ''
working-directory: somewhere
filters: '.github/filters.yml'
- name: filter-test
if: steps.filter.outputs.any != 'true' || steps.filter.outputs.error == 'true'
run: exit 1