question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Required checks not passing for reusable workflows

See original GitHub issue

Describe the bug Required checks do not pass for reusable workflows

To Reproduce Steps to reproduce the behavior:

  1. Create a status check for a job name (ie pipeline)
  2. Create a reusable workflow with a job similar to the required check (ie. pipeline)
  3. Create a new workflow using the reusable workflow

Expected behavior The required status check should acknowledge the workflow run

Runner Version and Platform

Version of your runner? 2.292.0

OS of the machine running the runner? Linux

What’s not working?

The workflow runs but the required check is still waiting: image

The required check is docker. The job in the reusable workflow is docker. The job that calls the reusable workflow is docker.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:21
  • Comments:12

github_iconTop GitHub Comments

3reactions
iwo-polanski-brainlycommented, May 27, 2022

I just got into this problem today, the reusable workflow seems to have name constructed as <parent_job_name> / <reusable_workflow_name> but when I want to use that for status check it is not possible to find it

2reactions
lunemeccommented, Feb 14, 2023

Ran into this too. Why is it not possible to have reusable workflow as a requirement check for merging into master? This is absolutely basic functionality. Why then even have reusable workflows when I can just shove it all into one insanely huge yAML to work around this?

🤦‍♂️ I am regretting ever having to use github actions. We can now write a book about how terrible it is.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Required checks for PR do not run when workflows ...
The issue is that when I make a PR to main, the test workflow runs and completes, but the other checks never finish...
Read more >
How to start using reusable workflows with GitHub Actions
When combined with OpenID Connect, reusable workflows allow you to require certain tests to be run before code can be deployed to production....
Read more >
Github reusable workflows and how to verify them - Europace
First off, the reusable workflow was modified to allow checking out a different repository. This requires allowing to pass in the repository ...
Read more >
Avoid Duplication! GitHub Actions Reusable Workflows
Note: if a required input has not been passed to the reusable workflow, it will fail. Other available types are boolean and number...
Read more >
GitHub Actions fails to fetch secrets within reusable workflows
Secrets need to be passed from within the parent workflow. There are two ways to solve this: 1. Explicitly add secrets to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found