Comments (3)
Good idea. There's not much work to implement it. I will add it soon 👍
from paths-filter.
Actually there's an easy way how to do it in current version.
Use list-files: json
and afterwards you can get coma separated list like this:
join(fromJSON(steps.filter.outputs.FILTER_NAME_files))
list-files: json
- enables file listing using JSON format, still every action output is just a string
fromJSON()
- will parse that string into actual JSON array
join
- will concatenate array using default separator ,
Does it work for you or is there anything missing?
from paths-filter.
Sure, that's a possible workaround, though I think it would be much cleaner and less verbose if there would be an option in the action. Though it's up to you :)
from paths-filter.
Related Issues (20)
- Weird permission issue when tracking changes for new files HOT 1
- Pass matrix object array as filter HOT 1
- Use filter header and name for matrix
- Output of job with paths-filter not being passed to dependent job HOT 1
- set-output deprecation warning HOT 1
- Document usage in a merge queue
- How to get intuitive usage when mixing file paths and ignore paths? HOT 3
- Changes are compared against incorrect branch HOT 1
- How to use exclude function HOT 3
- How to use paths-filter in reusable github action workflows HOT 5
- dorny/paths-filter@v2 filter condition returns false with Matching files: none
- Passing output from Githubaction to Terragrunt Githubaction
- Import filters file from another repository HOT 1
- Bug: Filter Action reading files from wrong PR HOT 2
- Feature request: Only perform a checkout when it is required for paths-filter to operate.
- [Feature request] Return as changed array HOT 1
- Exclude few folders in one filter HOT 3
- Detecting changes against main branch on main branch merge? HOT 2
- Become 'Verified creator' on GitHub Marketplace HOT 3
- Token clarification
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paths-filter.