We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1acf54f commit 7e2c5f1Copy full SHA for 7e2c5f1
dev-packages/size-limit-gh-action/index.mjs
@@ -187,7 +187,7 @@ async function run() {
187
const githubToken = getInput('github_token');
188
const threshold = getInput('threshold');
189
190
- if (!comparisonBranch && !pr) {
+ if (comparisonBranch && !pr) {
191
throw new Error('No PR found. Only pull_request workflows are supported.');
192
}
193
0 commit comments