File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717 id : extract
1818 uses : actions/github-script@v7
1919 with :
20- github-token : ${{ secrets.GITHUB_TOKEN }}
20+ github-token : ${{ secrets.GITHUB_TOKEN }}
2121 script : |
2222 const body = context.payload.pull_request.body || "";
2323 const issuePattern = /#(\d+)/g;
3232 if : steps.extract.outputs.issues && steps.extract.outputs.issues != '[]'
3333 uses : actions/github-script@v7
3434 with :
35+ github-token : ${{ secrets.GITHUB_TOKEN }}
3536 script : |
3637 const issues = JSON.parse(`${{ steps.extract.outputs.issues }}`);
3738 const prNumber = context.payload.pull_request.number;
7778 const existingComment = comments.data.find(c => c.body.includes("### Synced data from Linked Issues"));
7879
7980 if (existingComment) {
80- // Update existing comment
8181 await github.rest.issues.updateComment({
8282 ...context.repo,
8383 comment_id: existingComment.id,
You can’t perform that action at this time.
0 commit comments