File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ permissions:
2727jobs :
2828 enforce-smaller-requests :
2929 name : " PR is manageable"
30- if : github.event.action != 'edited'
3130 runs-on : ubuntu-latest
3231 steps :
3332 - name : Set MAX_ADDITIONS for forks
7776 core.setOutput('trigger', 'false');
7877 }
7978
80- - name : ${{ steps.stats.outputs.trigger == 'true' && 'An opened PR is too big to be reviewed at once!' || 'No comments ' }}
79+ - name : ${{ steps.stats.outputs.trigger == 'true' && 'An opened PR is too big to be reviewed at once!' || '... ' }}
8180 if : github.event.action == 'opened' && steps.stats.outputs.trigger == 'true'
8281 uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
8382 with :
@@ -107,8 +106,8 @@ jobs:
107106 });
108107 process.exit(1);
109108
110- - name : ${{ steps.stats.outputs.trigger == 'true' && 'Some change in the PR made it too big!' || 'No comments ' }}
111- if : github.event.action == 'synchronize ' && steps.stats.outputs.trigger == 'true'
109+ - name : ${{ steps.stats.outputs.trigger == 'true' && 'Some change in the PR made it too big!' || '... ' }}
110+ if : github.event.action != 'opened ' && steps.stats.outputs.trigger == 'true'
112111 uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
113112 with :
114113 script : |
You can’t perform that action at this time.
0 commit comments