Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Make sure any dependency changes are benchmarked (only changes to the locks
# make a material difference - changes to the Conda YAML files are not
# benchmarked).
benchmark_this:
- changed-files:
- any-glob-to-any-file: 'requirements/locks/*.lock'
15 changes: 15 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Reference
# - https://github.com/actions/labeler

name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
8 changes: 7 additions & 1 deletion docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ This document explains the changes made to Iris for this release
💼 Internal
===========

#. N/A
#. `@trexfeathers`_ used the `Pull Request Labeler Github action`_ to add the
``benchmark_this`` label (:ref:`more info <on_demand_pr_benchmark>`) to
pull requests that modify ``requirements/locks/*.lock`` files - ensuring
that we know whether dependency changes will affect performance.
(:pull:`5763`)


.. comment
Expand All @@ -84,3 +88,5 @@ This document explains the changes made to Iris for this release

.. comment
Whatsnew resources in alphabetical order:

.. _Pull Request Labeler GitHub action: https://github.com/actions/labeler