Skip to content

Commit 595e88b

Browse files
committed
fix(ci): remove PR body update from dependabot-issue workflow
Dependabot PRs have restricted permissions that prevent modifying the PR body.
1 parent 781c83c commit 595e88b

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/dependabot-issue.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,5 @@ jobs:
5050
5151
console.log(`Created tracking issue #${issue.number} for PR #${pr.number}`);
5252
53-
// Update PR body to reference the issue
54-
const updatedBody = `${pr.body || ''}\n\n---\nCloses #${issue.number}`;
55-
56-
await github.rest.pulls.update({
57-
owner,
58-
repo,
59-
pull_number: pr.number,
60-
body: updatedBody
61-
});
62-
63-
console.log(`Updated PR #${pr.number} to close issue #${issue.number}`);
53+
// Note: We don't update the PR body because Dependabot PRs have
54+
// restricted permissions. The issue references the PR instead.

0 commit comments

Comments
 (0)