Artifacts - Allow `needs:project` to download from a successful job
Context
From needs:project
docs (emphasis mine):
The artifacts are downloaded from the latest successful pipeline for the specified ref
The use-case we have
The use-case was to create artifacts in a job from a parent pipeline, and the child pipeline (which we wait until the end in the parent pipeline) then downloads the artifacts from a job in the parent pipeline. It would need the artifacts from that particular parent pipeline run.
Proposal
Add a flag to allow artifact downloads from the latest successful job instead of the latest successful pipeline.