Add GitHub action pull request labeler

Description

This action labels PRs based on the paths that are modified in the PR:
https://github.com/actions/labeler/blob/master/README.md

While it cannot use labels that depend on a PR's review status ("Reviewed: Action Needed") or priority, it can help us with:

  • Awaiting Review (all incoming PRs)

  • Gem Updates (touching Gemfile, Gemfile.lock)

  • Has Config Changes (touching config/config.yml)

  • Has Migrations (touching db/migrate)

If there are false matches (e.g. we do edit those files, but only comments) we can always manually edit out the wrong labels.

These two labels are only possible with exclusion matching:

  • Scope: i18n Only (touching config/locales and nothing else)

  • Scope: Tests Only (touching only test/, features/, factories/, spec/ and nothing else)

Environment

None

Status

Assignee

Unassigned

Reporter

redsummernight

Roadmap

None

Priority

Medium

Affects versions

Fix versions

None

Components

AutomatedTests

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9
Configure