Skip to content

Add exclude key for directories #26

Answered by BetaHuhn
buhruf asked this question in Ideas
Discussion options

You must be logged in to vote

The exclude key feature is now a part of v1.5.0 🎉

You can use it by either specifying the v1 or the latest tag:

uses: BetaHuhn/repo-file-sync-action@latest

And then in your sync.yml:

user/repo:
  - source: workflows/
    dest: .github/workflows/
    exclude: |
      node.yml
      lint.yml

Note: the exclude file path is relative to the source path

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@BetaHuhn
Comment options

@buhruf
Comment options

Comment options

You must be logged in to vote
1 reply
@BetaHuhn
Comment options

Comment options

You must be logged in to vote
1 reply
@buhruf
Comment options

Answer selected by BetaHuhn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
feature request Idea for a new feature released
2 participants