Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EAS Build workflow so it builds the requesting PR branch #27

Merged
merged 6 commits into from
May 24, 2024

Conversation

josh-leyshon
Copy link
Owner

@josh-leyshon josh-leyshon commented May 24, 2024

Follows on from #24. The workflow could be run (see comment and build), but would build master branch instead of the PR branch the comment came from. There would be no indication on the PR that the workflow was running.

This PR should fix that.

Roughly followed this guide: https://dev.to/zirkelc/trigger-github-workflow-for-comment-on-pull-request-45l2

Uses two Github Action containers:

Unfortunately, the issue_comment workflow trigger only works when the workflow file is on the default branch (master). That means that I can't test these changes until I merge this PR to master, and then leave a comment on a different PR.

@josh-leyshon
Copy link
Owner Author

🏗 build-android-preview

@josh-leyshon josh-leyshon force-pushed the joosh-fix-eas-build-workflow branch from 9a097a3 to e8fb129 Compare May 24, 2024 12:36
.
Signed-off-by: Josh Leyshon <[email protected]>
@josh-leyshon josh-leyshon merged commit e24301f into master May 24, 2024
4 checks passed
@josh-leyshon josh-leyshon deleted the joosh-fix-eas-build-workflow branch May 24, 2024 12:52
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