Panquesito7/submodules-alternative

[BUG] Workflow pushing changes that `setup-lua` created

Closed this issue · 0 comments

Description of the bug

The action setup-lua is run on action.yml to properly setup Lua 5.3.3.
However, when staging all the changes (even the changes by the setup-lua action), the changes are committed and pushed if the update-repos option is enabled.

The error seems to be on this line, where it's staging all changes.

git add -A -- ':!fetch-repos.lua' ':!update-repos.lua'

This should be updated to stage only the repositories that were updated, and not everything else.

Please add screenshots (if applicable)

No response

Add any other context about the problem here

Working on this. Unless you have a fix for this, feel free to let me know and create a PR. 🙂

Code of Conduct

  • I agree to follow this project's Code of Conduct