最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Exclude reusable workflows from GitHub Actions sidebar - Stack Overflow

programmeradmin3浏览0评论

I have some reusable workflows in a repo. These workflows are useless on their own, they only include the workflow_call event. However, they still show on the GH UI, and they still try to run.

  1. The workflows in red are the reusable ones which are still being queued/run on push. I realize that I can click each of these reusable workflows and disable them directly, but they would still show up in the sidebar. It seems like I'm missing something here.

  2. Also note that the top 3 workflows are listed using their path instead of their name. The workflows which are displayed by their name (e.g. "Purge Packages") are formatted in the same way as those which do not show their name.


Example of one of these workflows:

name: HTTP Download
on:
  workflow_call:
    ...
jobs:
  ...

I have some reusable workflows in a repo. These workflows are useless on their own, they only include the workflow_call event. However, they still show on the GH UI, and they still try to run.

  1. The workflows in red are the reusable ones which are still being queued/run on push. I realize that I can click each of these reusable workflows and disable them directly, but they would still show up in the sidebar. It seems like I'm missing something here.

  2. Also note that the top 3 workflows are listed using their path instead of their name. The workflows which are displayed by their name (e.g. "Purge Packages") are formatted in the same way as those which do not show their name.


Example of one of these workflows:

name: HTTP Download
on:
  workflow_call:
    ...
jobs:
  ...
Share Improve this question asked Feb 8 at 1:55 Josh M.Josh M. 27.8k27 gold badges129 silver badges219 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This is how GitHub Actions currently working, you can't hide the reusable workflows from the UI.

There is a popular feature request about it:

https://github.com/orgs/community/discussions/12025

And this is an issue regarding #2:

https://github.com/maxheld83/ghactions/issues/346

发布评论

评论列表(0)

  1. 暂无评论