Skip to content

Doesn't detect cyclic needs #98

Open

Description

@bytesnz

Want to help get this issue implemented? Donate to the action-validator code fund.


This doesn't seem to detect cyclic needs on the jobs.

name: cyclic-test
on:
  pull: {}
jobs:
  test:
    runs-on: ubuntu-latest
    needs:
      - test
    steps:
      - run: echo hello
  test1:
    runs-on: ubuntu-latest
    needs:
      - test2
    steps:
      - run: echo hello
  test2:
    runs-on: ubuntu-latest
    needs:
      - test1
    steps:
      - run: echo hello

Activity

  1. mpalmer commented on Aug 10, 2025

    @mpalmer
    Owner

    Indeed it doesn't. Thanks for the minimal test case, that'll help evaluating a PR to fix.

  2. added
    pr-welcomeThis would be a good fix/feature, but the maintainer isn't planning on doing the work
    code-fundThis issue is part of "code fund"; see https://hezmatt.org/~mpalmer/code-fund.html
    on Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-fundThis issue is part of "code fund"; see https://hezmatt.org/~mpalmer/code-fund.htmlpr-welcomeThis would be a good fix/feature, but the maintainer isn't planning on doing the work

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions