Support collections as values for `add`, `rm` and so on
See original GitHub issueHello, I think it would improve usability if we could use multiple git add
commands with within a single action. For example:
- name: Commit changes
uses: EndBug/add-and-commit@v5
with:
author_name: Your Name
author_email: mail@example.com
message: "Your commit message"
add:
- "something/file.txt"
- "crazy/*"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
This wouldn’t even be a breaking change if both collections and scalars are supported.
At the moment it is possible to to it like this git add file-1 file-2 file-3
, which translates to add: file-1 file-2 file-3
, but what if the path has a space in it?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Template structure and syntax - Azure Resource Manager
Describes the structure and properties of Azure Resource Manager templates (ARM templates) using declarative JSON syntax.
Read more >Extended Asm (Using the GNU Compiler Collection (GCC))
The typical use of extended asm statements is to manipulate input values to produce output values. However, your asm statements may also produce...
Read more >Input values and units | Webflow University
Enter and update numeric values, and use different units in numeric input fields.
Read more >5.8.5 Financial Analysis | Internal Revenue Service
Guidance on the valuation of assets in determining reasonable collection potential (RCP). Information on research tools available to locate and value taxpayer's ...
Read more >What is CRM (customer relationship management)?
Collection of and access to customer data can help businesses identify trends and ... To add value to customer interactions on social media,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems like a good idea, I’ll try to add it as soon as I manage to find the time to 😉
Ok, I’ve added this change in a new major version. I’ve decided to use a major bump just because, even though the previous input format is still valid, this could technically break some commands.
The new version is
v6.0.0
(alsov6
andlatest
). I’ll close this for now, let me know if you find any issues 👍🏻