Skip to content

Commit

Permalink
job id not available
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Nov 21, 2024
1 parent a3ebfd4 commit cbe1f42
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/validate-downstream.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Check pyQuil Compatibility
on:
pull_request:

name: Check pyQuil Compatibility

jobs:
check-pyquil:
name: Check compatibility with pyQuil
Expand Down Expand Up @@ -67,9 +66,6 @@ jobs:
const repo = context.repo.repo;
const issue_number = context.issue.number;
const logUrl = `https://github.com/${owner}/${repo}/actions/runs/${{ github.run_id }}/jobs/${{ job.id }}`
// Fetch existing comment, if it exists
const identifier = `pyQuil-checks-comment`;
const comments = await github.rest.issues.listComments({
Expand Down Expand Up @@ -112,7 +108,7 @@ jobs:
if (pytestFailed) {
body += `| pytest | ❌ Failed |\n`;
}
body += `\n**Note**: These failures don't necessarily block the PR but both authors and reviewers should check the results for unintentional breaking changes.\n[View Logs](${ logUrl })\n`;
body += `\n**Note**: These failures don't necessarily block the PR but both authors and reviewers should check the results for unintentional breaking changes.`;
} else {
body += `✅ **pyQuil Compatibility Checks Passed**. Great job!`;
}
Expand Down

0 comments on commit cbe1f42

Please sign in to comment.