Skip to content

Commit d2f26ba

Browse files
committed
fix(ci): make documentation comment posting optional
The GitHub Actions token doesn't have permission to post commit comments in some repository configurations. Since the comment is non-essential (only informational), make it continue-on-error to prevent failing the entire workflow when comment posting fails.
1 parent b6dc2ed commit d2f26ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ jobs:
137137
- name: Comment on commit (success)
138138
if: success()
139139
uses: actions/github-script@v7
140+
continue-on-error: true
140141
with:
141142
script: |
142143
github.rest.repos.createCommitComment({

0 commit comments

Comments
 (0)