Skip to content

workflows run errors if used as required in repository ruleset #18356

@jaroslawgajewski

Description

@jaroslawgajewski

Problem:

When workflow is used as part of repository ruleset - > Require workflows to pass before merging it's faling due to issues to access shared files.

Error

========================================
[main] Processing failed - ERROR
========================================

[main] Error type: Error
[main] Error message: ERR_API: Failed to process runtime import for .github/workflows/shared/file.md: ERR_SYSTEM: Runtime import file not found: workflows/shared/file.md
[main] Stack trace:

How to reproduce

setup ruleset with agentic workflow as Require workflows to pass before merging that uses shared files

Expected behaviour

shared files are accessible

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions