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(.github): skip free-disk-space action if there are no changed files #5536

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

youtalk
Copy link
Member

@youtalk youtalk commented Dec 5, 2024

Description

Even when there were no differences by the changed-files action, the free-disk-space action, which takes several minutes, was still executed.
Screenshot 2024-12-05 at 21 09 46

To reduce costs for the self-hosted runner, the free-disk-space action will also be skipped as the same as the docker-build-and-push action when there are no differences.

How was this PR tested?

Notes for reviewers

None.

Effects on system behavior

None.

Signed-off-by: Yutaka Kondo <[email protected]>
Copy link

github-actions bot commented Dec 5, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@youtalk youtalk self-assigned this Dec 5, 2024
@youtalk youtalk added type:containers Docker containers, containerization of components, or container orchestration. component:openadkit Issues or Features related to Open AD Kit tag:run-health-check Run health-check labels Dec 5, 2024
@youtalk youtalk marked this pull request as ready for review December 5, 2024 12:11
@youtalk youtalk requested a review from oguzkaganozt as a code owner December 5, 2024 12:11
@youtalk youtalk requested review from xmfcx and mitsudome-r December 5, 2024 12:11
Copy link
Contributor

@xmfcx xmfcx left a comment

Choose a reason for hiding this comment

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

Makes a lot of sense 👍

@youtalk youtalk merged commit 302e8b5 into main Dec 5, 2024
40 checks passed
@youtalk youtalk deleted the skip-free-disk-space branch December 5, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:openadkit Issues or Features related to Open AD Kit tag:run-health-check Run health-check type:containers Docker containers, containerization of components, or container orchestration.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants