Skip to content

How to ignore multiple directories with files_ignore ? #1398

Answered by jackton1
vitalii-dubovoy asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @vitalii-dubovoy to exclude the directory itself you can use the directory name only scripts or use scripts/**

      - name: Get changed files
        id: changed-files
        uses: tj-actions/changed-files@v37
        with:
          files_ignore: |
            scripts
            .github/**
          ...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jackton1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants