Skip to content

feat: improve downstream identification#146

Merged
Florian Ruppel (fruppel) merged 1 commit into
mainfrom
feat/improve-downstream-action
May 28, 2026
Merged

feat: improve downstream identification#146
Florian Ruppel (fruppel) merged 1 commit into
mainfrom
feat/improve-downstream-action

Conversation

@fruppel
Copy link
Copy Markdown
Contributor

The GitHub CLI now returns the URL of the triggered workflow run when calling gh workflow run. We capture this URL in the trigger step and pass it directly to wait.bash.

This removes the previous heuristic search - listing recent workflow dispatches filtered by date and matching them by job step name or log content - along with the NEW_LOGIC flag and its retry loop that guarded it. The script now goes straight to polling the correct run for its completion status.

@shyim
Copy link
Copy Markdown
Member

We should maybe think about creating a GitHub App which triggers those pipelines and we get notified when they are done. So we dont waste CI resources with polling and can do prober PR checks 👀

@fruppel Florian Ruppel (fruppel) linked an issue May 27, 2026 that may be closed by this pull request
@fruppel
Copy link
Copy Markdown
Contributor Author

Thanks Soner (@shyim) makes sense to me. I would suggest to merge this PR because it already helps first and refactor it to a Github App in the next step

@shyim
Copy link
Copy Markdown
Member

sure. I won't blocked it :)

@fruppel Florian Ruppel (fruppel) merged commit 2bc2a60 into main May 28, 2026
6 checks passed
@fruppel Florian Ruppel (fruppel) deleted the feat/improve-downstream-action branch May 28, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor downstream action

3 participants