-
-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
good first issueGood for newcomersGood for newcomerstype: bugVerified problems that need to be worked onVerified problems that need to be worked on
Description
I suppose what I could do here is simply have 2 steps with conditionals, but that would end up with 2 commits which seems less elegant. Might be nice if it checked for empty and then did nothing on empty (except maybe log a warning).
- uses: EndBug/add-and-commit@v7
with:
message: Generate SVG images for PlantUML diagrams
add: ${{ steps.puml-diff.outputs.changed-light }} ${{ steps.puml-diff.outputs.changed-dark }}
remove: ${{ steps.puml-files.outputs.removed-light }} ${{ steps.puml-files.outputs.removed-dark }}
Run EndBug/add-and-commit@v7
with:
message: Generate SVG images for PlantUML diagrams
add: docs/domain-model/.svg/user-light.svg docs/domain-model/.svg/user-dark.svg
remove:
author_name: xenoterracide
author_email: [email protected]
cwd: .
pull_strategy: --no-rebase
push: true
Running in /home/runner/work/iw-ppm-backend/iw-ppm-backend
Add input parsed as single string, running 1 git add command.
> Using 'xenoterracide <[email protected]>' as author.
> Using "Generate SVG images for PlantUML diagrams" as commit message.
Internal logs
> Staging files...
> Adding files...
Error: Error: fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomerstype: bugVerified problems that need to be worked onVerified problems that need to be worked on