From 83da9afcef839ba03b4edb9e4071baeecb70e063 Mon Sep 17 00:00:00 2001 From: "James A. Fellows Yates" Date: Mon, 2 Feb 2026 12:03:17 +0100 Subject: [PATCH 1/2] Add PR labeller for predicting PR size --- .github/workflows/labeler.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/labeler.yml diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..492969a5 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,32 @@ + +name: labeler + +on: [pull_request] + +jobs: + labeler: + permissions: + pull-requests: write + contents: read + issues: write + runs-on: ubuntu-latest + name: Label the PR size + steps: + - uses: codelytv/pr-size-labeler@v1 + with: + xs_label: "size/xs" + xs_max_size: "10" + s_label: "size/s" + s_max_size: "100" + m_label: "size/m" + m_max_size: "500" + l_label: "size/l" + l_max_size: "1000" + xl_label: "size/xl" + fail_if_xl: "false" + message_if_xl: > + This PR exceeds the recommended size of 1000 lines. + Please make sure you are NOT addressing multiple issues with one PR. + Note this PR might be rejected due to its size. + github_api_url: "https://api.github.com" + files_to_ignore: "" \ No newline at end of file From 60701a084c95fa45217b54a476bfba13360f0a53 Mon Sep 17 00:00:00 2001 From: nf-core-bot Date: Mon, 2 Feb 2026 11:05:33 +0000 Subject: [PATCH 2/2] [automated] Fix code linting --- .github/workflows/labeler.yml | 53 +++++++++++++++++------------------ 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 492969a5..383f63de 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,32 +1,31 @@ - name: labeler on: [pull_request] jobs: - labeler: - permissions: - pull-requests: write - contents: read - issues: write - runs-on: ubuntu-latest - name: Label the PR size - steps: - - uses: codelytv/pr-size-labeler@v1 - with: - xs_label: "size/xs" - xs_max_size: "10" - s_label: "size/s" - s_max_size: "100" - m_label: "size/m" - m_max_size: "500" - l_label: "size/l" - l_max_size: "1000" - xl_label: "size/xl" - fail_if_xl: "false" - message_if_xl: > - This PR exceeds the recommended size of 1000 lines. - Please make sure you are NOT addressing multiple issues with one PR. - Note this PR might be rejected due to its size. - github_api_url: "https://api.github.com" - files_to_ignore: "" \ No newline at end of file + labeler: + permissions: + pull-requests: write + contents: read + issues: write + runs-on: ubuntu-latest + name: Label the PR size + steps: + - uses: codelytv/pr-size-labeler@v1 + with: + xs_label: "size/xs" + xs_max_size: "10" + s_label: "size/s" + s_max_size: "100" + m_label: "size/m" + m_max_size: "500" + l_label: "size/l" + l_max_size: "1000" + xl_label: "size/xl" + fail_if_xl: "false" + message_if_xl: > + This PR exceeds the recommended size of 1000 lines. + Please make sure you are NOT addressing multiple issues with one PR. + Note this PR might be rejected due to its size. + github_api_url: "https://api.github.com" + files_to_ignore: ""