[openstreetmap/openstreetmap-website] Create base and head branches before running danger (PR #5295)

mmd notifications at github.com
Wed Oct 30 17:15:16 UTC 2024


@nenad-vujicic : this might be a good topic for another rule in Dangerfile. Something like:

```
gemfile_modified = git.modified_files.include?("Gemfile")
gemfile_lock_modified = git.modified_files.include?("Gemfile.lock")

if gemfile_modified && !gemfile_lock_modified
  warn("Gemfile was updated, but Gemfile.lock wasn't updated. Usually, when Gemfile is updated, you should run `bundle install`.")
end
```


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

Message ID: <openstreetmap/openstreetmap-website/pull/5295/c2447849335 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241030/2bb80bfe/attachment.htm>


More information about the rails-dev mailing list