Skip to content

fix(preview): pass PR number via artifact - #470

Closed
vitormattos wants to merge 4 commits into
mainfrom
fix/preview-pr-number-artifact
Closed

fix(preview): pass PR number via artifact#470
vitormattos wants to merge 4 commits into
mainfrom
fix/preview-pr-number-artifact

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

  • save the PR number as a small artifact in Preview Build
  • read that artifact in Deploy PR previews instead of relying on workflow_run.pull_requests
  • keep the deploy workflow logic small and predictable

Testing

  • validated both workflow files with no YAML errors
  • inspected recent Actions runs and confirmed workflow_run was being created, but deploy steps could be skipped when the PR number was missing from the payload

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos deleted the fix/preview-pr-number-artifact branch August 12, 2026 22:24
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.

1 participant