Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust workflow: check diff #874

Merged

Conversation

frewilhelm
Copy link
Contributor

git diff --exit-code --shortstat only displays the amount of files that diff, but not which one and it also ignores untracked files.

git status --porcelain returns a "script-useable" output (only displaying the files changed, without any info-text), like:

git status --porcelain
 M .github/workflows/check_diff_action.yaml (Modified)
 D README.md (Deleted)
?? asd (Untracked file)

@frewilhelm frewilhelm merged commit b4a8bbf into open-component-model:main Aug 16, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔒Closed
Development

Successfully merging this pull request may close these issues.

2 participants