Commit beca567
committed
Merge #7316: ci: update conflict predictor comment action
5d0c7d1 ci: tolerate conflict comment permission errors (PastaClaw)
3c5105c ci: allow conflict predictor to update PR comments (PastaClaw)
0e78944 ci: update conflict predictor comment action (PastaClaw)
Pull request description:
# PR Body
## Summary
- Update `mshick/add-pr-comment` from `v2` to `v3` in the
predict-conflicts workflow.
- Keep the existing least-privilege workflow permissions unchanged.
- Align predict-conflicts with the already-updated merge-check workflow
comment action.
## Motivation
Several draft PRs are showing red `predict_conflicts` jobs where the conflict
check itself succeeds, but the sticky PR comment step fails with:
```text
Resource not accessible by integration
```
The sibling merge-check workflow already uses `mshick/add-pr-comment@v3` under
`pull-requests: write`, so this brings predict-conflicts onto the same action
version without broadening the token scope.
## Validation
- `git diff --check`
- Pre-PR code review gate passed:
Code review was run against `upstream/develop` and the feature branch.
Result: no significant issues found; recommendation: ship.
- Inspected failing workflow logs for authored PRs showing failures in
`mshick/add-pr-comment@v2` with `Resource not accessible by integration`.
Top commit has no ACKs.
Tree-SHA512: 27f9a294959cbb3fd5ae9ac36b927fa9a1af7ef7a29c68023b35fff19ca00b2d1ba083c9a7dc29e8c3108ce16a439b4921f87f8d498cb34f6dab238a6b14760a1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments