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/2422932...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev