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

[chore] check-clean-work-tree detects untracked files #120

Merged
merged 5 commits into from
May 2, 2023
Merged

[chore] check-clean-work-tree detects untracked files #120

merged 5 commits into from
May 2, 2023

Conversation

pellared
Copy link
Member

@pellared pellared commented Apr 28, 2023

Why

Currently check-clean-work-tree does not detect new files created by go generate and make offsets.

What

Use git status --porcelain to make sure we also detect untracked files (and not only changes in tracked files).

@pellared pellared requested a review from a team April 28, 2023 07:25
@pellared
Copy link
Member Author

pellared commented Apr 28, 2023

The build should pass after #119 is merged.

Now it fails as expected. See: https://github.com/open-telemetry/opentelemetry-go-instrumentation/actions/runs/4828189826/jobs/8601714742?pr=120#step:6:14

Makefile Outdated Show resolved Hide resolved
@MrAlias MrAlias mentioned this pull request May 2, 2023
@MrAlias MrAlias merged commit ed6f140 into open-telemetry:main May 2, 2023
@pellared pellared deleted the improve-git-diff branch May 9, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants