woodpecker-ci / woodpecker

Woodpecker is a simple yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
3.88k stars 345 forks source link

`depends_on` seems to be broken on workflow level #3858

Open terminalnode opened 2 days ago

terminalnode commented 2 days ago

Component

agent

Describe the bug

After updating to 2.6.0, it seems that my Auth server tests.yml, which has a depends_on: [ 'Build Auth' ] on top, is no longer awaiting Build Auth.yml. We have multiple workflows with workflow-level dependencies that are all experiencing similar problems.

Steps to reproduce

  1. Create a workflow file Build Auth.yml, give it a single step that takes a few seconds.
  2. Create another workflow file Auth server tests.yml
  3. Add depends_on: [ 'Build Auth' ] to the top of Auth server tests.yml

Expected behavior

The Auth server tests.yml should wait for Build Auth to finish before running.

System Info

2.6.0

Additional context

No response

Validations