File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 sync :
1111 permissions :
1212 contents : read
13+ pull-requests : write # Allow commenting on PRs
1314 runs-on : ubuntu-latest
1415 timeout-minutes : 10
1516
2627
2728 - name : Setup pnpm
2829 uses : pnpm/action-setup@v4
29- with :
30- version : 10
3130
3231 - name : Install dependencies
3332 run : pnpm install --frozen-lockfile
4342 uses : actions/github-script@v7
4443 with :
4544 script : |
46- github.rest.issues.createComment({
47- issue_number: context.issue.number,
45+ github.rest.pulls.createReviewComment({
4846 owner: context.repo.owner,
4947 repo: context.repo.repo,
50- body: '❌ Newsletter sync to Resend failed. Check the [workflow logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details.'
48+ pull_number: context.issue.number,
49+ body: '❌ Newsletter sync to Resend failed. Check the [workflow logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details.',
50+ commit_id: context.payload.pull_request.head.sha,
51+ path: 'src/data/newsletters',
52+ line: 1
5153 })
Original file line number Diff line number Diff line change 44 "version" : " 0.1.0" ,
55 "author" : " Mike Bifulco <hello@mikebifulco.com>" ,
66 "license" : " MIT" ,
7- "packageManager" : " pnpm@10.19 .0" ,
7+ "packageManager" : " pnpm@10.21 .0" ,
88 "scripts" : {
99 "analyze" : " ANALYZE=true next build" ,
1010 "build" : " next build" ,
You can’t perform that action at this time.
0 commit comments