ci: tolerate command reaction token limits · openclaw/openclaw@9d8de70
vincentkoc
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -16,6 +16,7 @@ jobs:
|
16 | 16 | runs-on: ubuntu-24.04 |
17 | 17 | permissions: |
18 | 18 | issues: write |
| 19 | +pull-requests: write |
19 | 20 | env: |
20 | 21 | CLOWNFISH_APP_ID: ${{ vars.CLOWNFISH_APP_ID || secrets.CLOWNFISH_APP_ID }} |
21 | 22 | CLOWNFISH_APP_AUTH_ENABLED: ${{ secrets.CLOWNFISH_APP_PRIVATE_KEY != '' && (vars.CLOWNFISH_APP_ID != '' || secrets.CLOWNFISH_APP_ID != '') && '1' || '0' }} |
@@ -102,6 +103,10 @@ jobs:
|
102 | 103 | core.info(`${content} reaction already exists on comment ${comment.id}.`); |
103 | 104 | return; |
104 | 105 | } |
| 106 | + if (error.status === 403 && /resource not accessible by integration/i.test(String(error.message))) { |
| 107 | + core.warning(`${content} reaction could not be added with this token: ${error.message}`); |
| 108 | + return; |
| 109 | + } |
105 | 110 | throw error; |
106 | 111 | } |
107 | 112 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。