[openstreetmap/openstreetmap-website] Added workflow for PR labeling using Danger (PR #4988)

Nenad Vujicic notifications at github.com
Mon Jul 15 11:14:11 UTC 2024


This PR proposes possible solution for labeling pull requests using Danger described in #4912

Proposed solution introduces new workflow, executed whenever new PR is created or updated. Workflow checks if PR is too big (>500 changed lines) or changes one of translation files (YML, except en.yml) or contains merge-commits and generates appropriate labels using Danger and danger-auto_label plugin. If none of these is found, green "Good PR" is generated.

![image](https://github.com/user-attachments/assets/4d4141e8-a471-4ff8-a842-a831198a4ed8)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4988

-- Commit Summary --

  * Added workflow for PR labeling using Danger

-- File Changes --

    A .github/workflows/labeling.yml (25)
    A Dangerfile (32)
    M Gemfile (2)
    M Gemfile.lock (44)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4988.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4988.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4988
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4988 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240715/2199e242/attachment.htm>


More information about the rails-dev mailing list