Skip to content

Commit 666ad44

Browse files
committed
fix workflow
1 parent febc8c5 commit 666ad44

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/bootstrap-template-protection.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projenrc/bootstrap-template-protection.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ export class BootstrapTemplateProtection extends Component {
2525
pullRequest: {
2626
types: ['opened', 'synchronize', 'reopened', 'labeled', 'unlabeled'],
2727
},
28+
mergeGroup: {},
2829
});
2930

3031
workflow.addJob('check-bootstrap-template', {
3132
name: 'Check Bootstrap Template Changes',
3233
runsOn: ['ubuntu-latest'],
34+
if: "(github.event_name == 'pull_request' || github.event_name == 'pull_request_target')",
3335
permissions: {
3436
contents: gh.workflows.JobPermission.READ,
3537
pullRequests: gh.workflows.JobPermission.WRITE,

0 commit comments

Comments
 (0)