-
Notifications
You must be signed in to change notification settings - Fork 10
chore(ci/deploy): run on maintainers PR #373
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use TypeScript files directly
interledger/web-monetization-extension#1188
| # Build and test steps (always run for validation) | ||
| - name: Build API (validation) | ||
| if: steps.deploy-check.outputs.should-deploy == 'false' | ||
| run: pnpm -C api run build | ||
|
|
||
| - name: Build CDN (validation) | ||
| if: steps.deploy-check.outputs.should-deploy == 'false' | ||
| run: pnpm -C cdn run build | ||
|
|
||
| - name: Build Frontend (validation) | ||
| if: steps.deploy-check.outputs.should-deploy == 'false' | ||
| run: pnpm -C frontend run build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe instead of adding these, we can add a flag to ./.github/workflows/deploy-worker whether or not it should try to deploy.
| if (context.eventName === 'pull_request') { | ||
| const event = /** @type {PullRequest} */ (context.payload); | ||
| const authorAssociation = event.pull_request.author_association; | ||
|
|
||
| if (!isAllowedAuthor(authorAssociation)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we trigger deployments on manual pull_request_review comments from maintainers like we do for extension? Maybe as a follow-up.
No description provided.