Skip to content

Fix github-actions-indicators for updated Actions sidebar - #10380

Open
sarah-lej wants to merge 1 commit into
refined-github:mainfrom
sarah-lej:fix/github-actions-indicators
Open

sarah-lej wants to merge 1 commit into
refined-github:mainfrom
sarah-lej:fix/github-actions-indicators

Conversation

@sarah-lej

@sarah-lej sarah-lej commented Nov 6, 2026 •

Copy link
Copy Markdown

Description

Closes #10375.

The github-actions-indicators feature stopped working because GitHub changed the HTML structure of the Actions sidebar.

I updated the selectors to match the new structure and fixed the workflow filename extraction so query parameters don't cause problems.

What I changed

While looking into the issue, I noticed that the old selector couldn't find any workflow links anymore. GitHub now uses Sidebar.Item instead of the previous <li> elements.

I also had to update the selectors for the pin button and workflow labels to get both indicators working again.

Test URLs

Screenshots

Before (Broken workflow indicators)

Before: Broken workflow indicators

The workflow sidebar before the fix. Scheduled run times were not displayed.

After 1 (Scheduled workflow indicator)

After: Scheduled workflow indicator

The Daily workflow now correctly shows its next scheduled run (in 16 hours). No manual trigger button is shown because I don't have permission to run workflows in the original repository.

After 2 (Manual workflow trigger button)

After – Manual workflow trigger button

In my fork, the play button now appears next to Release. Clicking it successfully opens the workflow dispatch menu without starting the workflow.

Testing

Tested locally in Chrome and Firefox.

  • Scheduled workflow indicators display correctly.
  • Manual trigger buttons appear for workflows I have permission to run.
  • Clicking the play button opens the workflow dispatch menu.
  • TypeScript, ESLint and formatting checks pass.

@github-actions github-actions Bot added the bug label Nov 6, 2026
@github-actions github-actions Bot closed this Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

All PRs must include screenshots showing the changes or fixes. This looks like an AI-generated PR, "tests pass" is not an excuse.

Next steps:

  1. Update the PR body with a screenshot/video/gif of the working PR.
  2. Wait for a human to review the PR and reopen it.

Tips:

  • Do not open more PRs until this one is reopened and merged.
  • Don't waste your tokens on junk PRs that won't be accepted.
  • Don't waste your tokens on junk comments that nobody reads.

@github-actions github-actions Bot changed the title Fix github-actions-indicators for updated Actions sidebar Fix github-actions-indicators for updated Actions sidebar Nov 6, 2026
@sarah-lej

Copy link
Copy Markdown
Author

Hi! Since the bot mentioned missing screenshots, I've changed them from HTML to Markdown in case that was the issue. I also added a few more details to the description.

Hopefully someone can take another look and reopen the PR if everything is okay. Thanks!

@fregante fregante reopened this Nov 6, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

github-actions-indicators broken

2 participants