Skip to content

Commit

Permalink
don't run script on non-PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Reif <Garandor@manta.network>
  • Loading branch information
Adam Reif authored and Adam Reif committed Mar 29, 2023
1 parent 928dcd7 commit d9021b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
const number = context.issue.number;
const owner = context.repo.owner;
const repo = context.repo.repo;
if (!number) return; // Ignore non-PR CI runs
const comment_text = "Congestion test: 1-day congestion cost (calamari)"
// find or create a comment in the PR
const { data } = await octokit.rest.issues.listComments({ owner, repo, issue_number: number });
Expand Down

0 comments on commit d9021b2

Please sign in to comment.