How to ignore two or more folders?
Closed this issue · 2 comments
Sarga commented
Hi there.
I need to add two folders to ignore. I tried next code, but no luck
- name: get all changed folders
id: changed-folders
uses: Stockopedia/action-get-changed-files@v1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
ignore: ".github depends"
format: 'csv'
foldersOnly: true
How to do that? Thank you @Tj-Stockopedia
tjbroodryk commented
the ignore
param takes a glob pattern - something like this should work **/+(.github|depends)
Sarga commented
It works well. Thanks a million man!