Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it's impossible to provide many exclude options #9

Closed
yegor256 opened this issue Mar 5, 2024 · 3 comments
Closed

it's impossible to provide many exclude options #9

yegor256 opened this issue Mar 5, 2024 · 3 comments

Comments

@yegor256
Copy link

yegor256 commented Mar 5, 2024

Would be great to have this ability:

uses: actions/checkout@v4
with:
  exclude: 
    - vendor/** 
    - others/**/*.js 

Now it's impossible (however, it's possible in the hoc command line tool)

MikhailEpatko pushed a commit that referenced this issue Mar 6, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 6, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 6, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 6, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 6, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 6, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 6, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 6, 2024
@MikhailEpatko
Copy link
Owner

Would be great to have this ability:

uses: actions/checkout@v4
with:
  exclude: 
    - vendor/** 
    - others/**/*.js 

Now it's impossible (however, it's possible in the hoc command line tool)

According workflow specification arguments might be a string, not array.

Could you show me an example how to pass an array to the hoc command line tool?
Unfortunately I didn't find such example in the hoc documentation.

@yegor256
Copy link
Author

yegor256 commented Mar 7, 2024

@MikhailEpatko you can just do this: hoc '--exclude=vendor/**' '--exclude=others/**/*.js'

Maybe this way:

uses: actions/checkout@v4
with:
  exclude: vendor/**,others/**/*.js 

MikhailEpatko pushed a commit that referenced this issue Mar 10, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 10, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 10, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 10, 2024
MikhailEpatko pushed a commit that referenced this issue Mar 10, 2024
MikhailEpatko added a commit that referenced this issue Mar 10, 2024
* #9 Added multiline values into exclude option

* #9 test multiline values

* #9 test multiline values

* #9 test multiline values

* #9 test multiline values

* #9 test multiline values

* #9 Added multiline values into exclude option

* #9 Added multiline values into exclude option

* #9 Added multiline values into exclude option

* #9 Added multiline values into exclude option

---------

Co-authored-by: Mikhail Epatko <m.epatko@jsa-group.ru>
@MikhailEpatko
Copy link
Owner

Issue solved in Release-3.0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants