[openstreetmap/openstreetmap-website] Danger isn't working in CI (Issue #5267)
mmd
notifications at github.com
Fri Oct 18 17:30:32 UTC 2024
https://github.com/openstreetmap/openstreetmap-website/actions/runs/11407724340/job/31744367292 seems to be doing a bit better. I have replaced `pull_request_target: types: [opened, synchronize]` by `on: [pull_request]`.
The token doesn't have access to remove or add labels:
```
Error message: "Big PR" label is not existing.
DELETE https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/5270/labels/Big%20PR: 403 - Resource not accessible by integration // See: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue
Error message: "Inappropriate Translations" label is not existing.
DELETE https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/5270/labels/Inappropriate%20Translations: 403 - Resource not accessible by integration // See: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue
Error message: "Merge Commits" label is not existing.
DELETE https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/5270/labels/Merge%20Commits: 403 - Resource not accessible by integration // See: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue
All green. Congrats.
Danger does not have write access to the PR to set a PR status.
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5267#issuecomment-2422932906
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5267/2422932906 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241018/a59310eb/attachment.htm>
More information about the rails-dev
mailing list