Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/correctness_benchmarking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
core.setOutput('head_ref', pr.head.ref);
core.info(`Mode: ${mode} SHA: ${pr.head.sha}`);

- name: Check Commenter has write access
- name: Check Commenter has admin access
id: authz
# steps is a GitHub Actions context object that lets you access outputs and metadata from previous steps within the same job.
if: steps.parse.outputs.mode != ''
Expand All @@ -98,7 +98,7 @@ jobs:
await github.rest.issues.createComment({
owner: context.repo.owner, repo: context.repo.repo,
issue_number: context.issue.number,
body: `@${context.payload.comment.user.login} — only collaborators with **write** access can trigger benchmarks (your level: \`${level}\`).`,
body: `@${context.payload.comment.user.login} — only collaborators with **admin** access can trigger benchmarks (your level: \`${level}\`).`,
});
core.setFailed('Unauthorized');
}
Expand Down Expand Up @@ -582,7 +582,7 @@ jobs:
owner: context.repo.owner, repo: context.repo.repo, comment_id: sc.id, body,
});

# ──────────────────────────────────────────────────────────
# ──────────────────────────────────────────────────────────
# JOB 3: Run benchmark on Benchmark server with the chosen mode
# ──────────────────────────────────────────────────────────
run-benchmark:
Expand Down
Loading