Skip to content

Commit

Permalink
chore: run builds on pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan committed Jul 17, 2023
1 parent 41b1e45 commit 83fb900
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions projen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ export class CdktfAwsCdkProject extends cdk.JsiiProject {
releaseSteps.splice(1, 0, ensureCorrectUser);
upgrade.steps.splice(1, 0, ensureCorrectUser);

(this.buildWorkflow as any).workflow.events = {
pullRequestTarget: {},
workflowDispatch: {},
};

this.buildWorkflow?.addPostBuildSteps(
{
name: "Setup Copywrite tool",
Expand Down

0 comments on commit 83fb900

Please sign in to comment.