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

CI - adding cleanup step in merge workflows #4111

Merged
merged 1 commit into from
Sep 25, 2023
Merged

CI - adding cleanup step in merge workflows #4111

merged 1 commit into from
Sep 25, 2023

Conversation

prhod
Copy link
Contributor

@prhod prhod commented Sep 21, 2023

No description provided.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

if: ${{ always() }}
run: |
rm -rf ./*
rm -rf ./.??*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, why do we need this second line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm -rf ./* does not remove dot files. The second line is to force the removal of .git (and other existing dot things)

Copy link
Contributor

@woshilapin woshilapin Sep 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, but why the ? (doubled). I thought ./.* would have been enough 🤔 Is it to avoid matching . (current directory) and .. (parent directory)?

@prhod prhod merged commit 22c4dd8 into dev Sep 25, 2023
@prhod prhod deleted the fix_ci_release branch September 25, 2023 09:03
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.

2 participants