backstage / community-plugins

Community plugins for Backstage
Apache License 2.0
157 stars 177 forks source link

🐛 Bug Report: Github Actions Plugin shows "No Workflow Data" in Backstage App #1352

Open ibhaveshsakpal opened 4 weeks ago

ibhaveshsakpal commented 4 weeks ago

📜 Description

Our Findings: We are currently integrating the Github Actions Plugin into our Backstage app. Following the steps in the official Github Actions Plugin documentation, everything seems to be set up correctly. However, we are encountering the message:

No Workflow Data. This component has Github Actions enabled, but no data was found.

This happens despite having existing workflows in the same repository.

We have tested this both locally (using yarn dev and yarn start) and on an AWS-hosted instance of Backstage, but the issue persists.

👍 Expected behavior

The Github Actions plugin should display the workflow data from the repository and function as expected, pulling in the relevent details.

👎 Actual Behavior with Screenshots

The UI shows a "No Workflow Data." message even though workflows are present in the repository. Below is a screenshot of the issue: github-actions

👟 Reproduction steps

  1. git clone the repo
  2. cd backstage
  3. yarn install
  4. Set environment variables and yarn dev or yarn start (we have tested both)
  5. Visit http://localhost:3000/catalog/amp/component/amp/github-actions

📃 Provide the context for the Bug.

We are unsure if this is a bug or a configuration issue, but we need assistance to resolve this as soon as possible. Any guidance on what might be wrong or how to fix this would be greatly appreciated.

🖥️ Your Environment

No response

👀 Have you spent some time to check if this bug has been raised before?

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

vinzscam commented 1 week ago

have you run any of the workflows? According to the code the message is shown when there are workflows but none of the workflows has been run.