Skip to content

Commit e020b9b

Browse files
dshkolclaude
andcommitted
fix: Add permissions and continue-on-error for PR comment step
- Add pull-requests: write permission to allow commenting - Add continue-on-error: true so comment failure doesn't fail workflow Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a6441e7 commit e020b9b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/validate_examples.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
# Run weekly on Mondays at 9 AM UTC
1010
- cron: '0 9 * * 1'
1111

12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
1216
jobs:
1317
validate:
1418
runs-on: ubuntu-latest
@@ -71,6 +75,7 @@ jobs:
7175

7276
- name: Comment PR with results
7377
if: github.event_name == 'pull_request'
78+
continue-on-error: true
7479
uses: actions/github-script@v6
7580
with:
7681
script: |

0 commit comments

Comments
 (0)