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

GHA: remove GITHUB_WORKSPACE when workflow fails due to merge conflict #8601

Conversation

BbolroC
Copy link
Member

@BbolroC BbolroC commented Dec 7, 2023

It is to remove a GITHUB_WORKSPACE directory for self-hosted runners when a workflow fails due to the merge conflict. This will prevent the subsequent workflows from getting stuck in the same situation.

Fixes: #8600

Signed-off-by: Hyounggyu Choi Hyounggyu.Choi@ibm.com

@BbolroC BbolroC force-pushed the conflict-handling-for-self-hosted-runners branch from f084780 to 6b2c8b2 Compare December 7, 2023 08:45
@katacontainersbot katacontainersbot added the size/small Small and simple task label Dec 7, 2023
Copy link
Contributor

@Amulyam24 Amulyam24 left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks @BbolroC!

@BbolroC
Copy link
Member Author

BbolroC commented Dec 7, 2023

/test

It is to remove a GITHUB_WORKSPACE directory for self-hosted runners
when a workflow fails due to the merge conflict. This will prevent
the subsequent workflows from getting stuck in the same situation.

Fixes: kata-containers#8600

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
@BbolroC BbolroC force-pushed the conflict-handling-for-self-hosted-runners branch from 6b2c8b2 to 0d5a970 Compare December 7, 2023 09:26
@BbolroC
Copy link
Member Author

BbolroC commented Dec 7, 2023

/test

Copy link
Member

@fidencio fidencio left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @BbolroC!

@BbolroC BbolroC merged commit ad6aab9 into kata-containers:main Dec 7, 2023
170 of 177 checks passed
@BbolroC BbolroC deleted the conflict-handling-for-self-hosted-runners branch December 7, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/small Small and simple task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GHA: Rebasing error affects subsequent workflows on a self-hosted runner
4 participants