From 941d5264e677683da798179139986c2abced743c Mon Sep 17 00:00:00 2001 From: Kamil Skwarczynski Date: Thu, 5 Sep 2024 15:45:39 +0000 Subject: [PATCH] test labeler --- .github/labeler.yml | 7 +++++++ .github/workflows/label.yml | 22 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100755 .github/labeler.yml create mode 100755 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100755 index 000000000..447790b87 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,7 @@ +MCMC: + - mcmc/** +Plotting: + - plotting/** + - Diagnostics/** +Nu Osc/Xsec: + - covariance/** diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100755 index 000000000..07cee6f06 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,22 @@ +# This workflow will triage pull requests and apply a label based on the +# paths that are modified in the pull request. +# +# To use this workflow, you will need to set up a .github/labeler.yml +# file with configuration. For more information, see: +# https://github.com/actions/labeler + +name: Labeler +on: [pull_request_target] + +jobs: + label: + + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v3 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"