ana06 / get-changed-files Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jitterbit/get-changed-files
Get all of the files changed/modified in a pull request or push's commits.
License: MIT License
This project forked from jitterbit/get-changed-files
Get all of the files changed/modified in a pull request or push's commits.
License: MIT License
I'm moving a repo from a custom cookiecutter hook to the native support for jinja in filenames. Hopefully eventually to move from cookiecutter to copier. And ninja in filenames == required spaces. Things like if ...
must have a space in it. The end result doesn't have spaces, but the files do. How hard would it be to add support for spaces (and pretty much all other windows-supported characters)?
Hello @Ana06 ,
I've looked at the code already and I see that the filtering implementation is leveraging regex to filter files.
I have a particular case that would require include a certain type of files but also exclude specific paths at the same time.
ie:
So I need to match all *.yml, but not *.yml that are in a test folder for example.
Now, while I undertsand I could make a convoluted regex to do that, I would also want to keep it simple.
Would you welcome a change where we change the filter
by include
and exclude
both supporting regex, and add a bit more code logic?
I'd be willing to have a poke at it.
Thanks,
Hello @Ana06,
First of all, thanks for this awesome Action, we are using it actively.
We realized that Github Actions is going to deprecate some features used by your action, so I would like to know if you could adapt to theuir proposed changes.
Check:
I would open a PR, but I have little experience with JavaScript or how this works.
Thanks a lot
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: Ana06/get-changed-files
Node.js 16 actions are deprecated, when running this action, a warning is now displayed.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Ana06/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Hello !
First thanks for adapting this from the original code much appreciated !
I've run into cases where I use this action in a workflow that can run on events other than push and pull_request and it makes the whole workflow fail.
I have an other action which just indicates it does not support the event in the log and skips the execution of the code.
Do you think it's something that could be added to the code ?
Cheers
I'm sorry that I can't give a detailed description, but it appears as though the filter "*.rs"
matches the file errors.py
(with emphasis: erro rs .py), which shouldn't happen with the GitHub action syntax. Am I missing something here? The only solution to achieve what I wanted was to use "*.rs$"
instead.
Hi @Ana06, do you think it's possible to have a solution for this issue?
jitterbit#10
It also appears on this fork as well
merge_job
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Ana06/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Could you please fix it?
When using this action, you now get these two error messages:
Via jitterbit#65 it seems that https://github.com/masesgroup/retrieve-changed-files updated the original action to make these go away - so maybe this here can be "rebased" on that one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.