Hide Jobs in Actions UI when If is false #18001
Replies: 56 comments 4 replies
-
This is really desirable!! |
Beta Was this translation helpful? Give feedback.
-
The default behavior should be that skipped jobs are hidden. If someone wants to see the skipped jobs, let them optionally enable that. |
Beta Was this translation helpful? Give feedback.
-
Whenever this is implemented, Please make it optional. |
Beta Was this translation helpful? Give feedback.
-
The default behaviour should be rather that skipped jobs are shown. It would be less of a breaking change to introduce a new job option |
Beta Was this translation helpful? Give feedback.
-
Any update on this? I'd still very much like to hide skipped actions on PR's in the UI. |
Beta Was this translation helpful? Give feedback.
-
Bump! This would be great! Keep in mind that Slack will show it as grey when it is much more desirable not to have this notification at all! It makes the actions look quite busy when in fact, they either pass or fail. |
Beta Was this translation helpful? Give feedback.
-
Bump! Also adding a use-case for this feature. I am using "proxy workflows" as a workaround for a lack of dynamic "uses" when triggering reusable workflows (choosing which to execute). I am using a solution similar to this suggestion. The problem is that every use of the "proxy workflow" results in skipped jobs showing up due to the A job-level setting or even a UI setting would be helpful in making this a better experience. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Maybe an easier/less invasive option would be to extend the java-build:
name: java-build
needs:
- metaconfig # job
- ${{ jobs.metaconfig.result == 'success' }} # job result This would effectively hide the skipped jobs but would require an evaluation of boolean as well as a job_ids in the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
We also make heavy use of shared workflows with switches to turn workflow features on and off. I'd love to see this feature added. As a workaround, we use the following pattern which allows some ability to distinguish between a step not being enabled, and it being skipped for other reasons.
One note is that if you use a step outcome/output in place of the enable input here, it will still work. But the formatted string will not be evaluated until the job completes. While the job is running, the code that generates the name will be displayed. |
Beta Was this translation helpful? Give feedback.
-
I would like to +1. In my case I have a reusable workflow inside a matrix, and one of the job of the reusable workflow should run only in some cases, after other jobs in the reusable workflow. A job-level setting would be great to hide those that don't run. |
Beta Was this translation helpful? Give feedback.
-
+1. Definitely a needed enhancement to GitHub Actions UI. At least have a UI option to hide skipped jobs. |
Beta Was this translation helpful? Give feedback.
-
+1 it would be great the have the option! |
Beta Was this translation helpful? Give feedback.
-
+1 Bumping up, would love to see this feature! |
Beta Was this translation helpful? Give feedback.
-
... two years passed |
Beta Was this translation helpful? Give feedback.
-
At time of writing this when you have a multi-stage workflow defined it will show every single job and set of steps defined in all associated workflows and composite actions. Having the ability to hide a job in the UI if it will not be ran would be a great feature.
Examples of this are build testing, integration testing, code scanning, and security scanning. There are times when they will not be ran and having them show up in the UI really clutters it up.
Current Workflow Example Below in the UI
Current Workflow Example Below in the UI
Beta Was this translation helpful? Give feedback.
All reactions