Replies: 2 comments
-
Hi RejithWG, Unfortunately, GitHub Actions doesn’t have a built-in way to "hide" skipped jobs in the Actions UI. A better approach is to automate the cleanup using the GitHub API.
Hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Jens,
Thanks for the response. I understand the ‘hide skip workflow ‘ feature not available. Could you please recommend any other alternative solutions for conditional workflow orchestration?
Thanks
Rejith
From: Jens A. Koch ***@***.***>
Sent: Thursday, February 27, 2025 9:33 AM
To: community/community ***@***.***>
Cc: Rejith Govindan ***@***.***>; Author ***@***.***>
Subject: [EXTERNAL] Re: [community/community] Hide Skipped jobs from Action UI (Discussion #152605)
Hi RejithWG,
Unfortunately, GitHub Actions doesn’t have a built-in way to "hide" skipped jobs in the Actions UI.
You could delete them manually, but that can be tedious.
A better approach is to automate the cleanup using the GitHub API.
And you can do this by either:
* Creating your own workflow:
You can add a workflow file to your repo that removes skipped or canceled runs. Here’s an example: clean-workflows.yml [github.com]<https://urldefense.com/v3/__https:/github.com/jakoch/cpp-devbox/blob/main/.github/workflows/clean-workflows.yml*L26-L52__;Iw!!Hk2OhvHRu-6GlA!VQaZsHk6O-oz8SE-ZrxWEgnChaT1Xcu_w3hbM-7VUBHowqapIDhL6V56BosLTKq597j84uJU7qVYYUkdEIw_BrNFe8JU9H3QxMyHshQT5HYaJ2U$>.
* or Using an external action:
The GitHub Actions Workflow Cleanup [github.com]<https://urldefense.com/v3/__https:/github.com/marketplace/actions/delete-workflow-runs__;!!Hk2OhvHRu-6GlA!VQaZsHk6O-oz8SE-ZrxWEgnChaT1Xcu_w3hbM-7VUBHowqapIDhL6V56BosLTKq597j84uJU7qVYYUkdEIw_BrNFe8JU9H3QxMyHshQTOpdVI60$> action allows you to delete runs based on their conclusion. You can configure it with the delete run by conclusion pattern [github.com]<https://urldefense.com/v3/__https:/github.com/marketplace/actions/delete-workflow-runs*7-delete_run_by_conclusion_pattern__;Iw!!Hk2OhvHRu-6GlA!VQaZsHk6O-oz8SE-ZrxWEgnChaT1Xcu_w3hbM-7VUBHowqapIDhL6V56BosLTKq597j84uJU7qVYYUkdEIw_BrNFe8JU9H3QxMyHshQT176sCdQ$> to remove skipped or canceled runs automatically.
Hope this helps.
—
Reply to this email directly, view it on GitHub [github.com]<https://urldefense.com/v3/__https:/github.com/orgs/community/discussions/152605*discussioncomment-12339943__;Iw!!Hk2OhvHRu-6GlA!VQaZsHk6O-oz8SE-ZrxWEgnChaT1Xcu_w3hbM-7VUBHowqapIDhL6V56BosLTKq597j84uJU7qVYYUkdEIw_BrNFe8JU9H3QxMyHshQTp_ja4xM$>, or unsubscribe [github.com]<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BK3PCOYYBU6ELGMKJO7UAJD2R4OY7AVCNFSM6AAAAABX747IQKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZTHE4TIMY__;!!Hk2OhvHRu-6GlA!VQaZsHk6O-oz8SE-ZrxWEgnChaT1Xcu_w3hbM-7VUBHowqapIDhL6V56BosLTKq597j84uJU7qVYYUkdEIw_BrNFe8JU9H3QxMyHshQTzj1yb0E$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Team, I am working on a conditional orchestrator workflow however, some of the jobs appearing as Skipped on the Action UI, is there any way to Hide those?
Beta Was this translation helpful? Give feedback.
All reactions