From da051861fcf0c90ce4a458fe23f6993cd4c0317c Mon Sep 17 00:00:00 2001 From: Johannes Doellinger Date: Thu, 4 Apr 2024 14:51:19 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20upgrade=20to=20node20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Doellinger --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 5c4b560..a3b7a7b 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2022 - for information on the respective copyright owner see the NOTICE file or the +# Copyright (c) 2022-2024 - for information on the respective copyright owner see the NOTICE file or the # repository https://github.com/boschresearch/pr-size-labeller. # # SPDX-License-Identifier: Apache-2.0 @@ -18,5 +18,5 @@ inputs: default: "" runs: - using: "node16" + using: "node20" main: "index.js" From a2cc74ff3301d7c66649cbbb86c7fa075477fc55 Mon Sep 17 00:00:00 2001 From: Johannes Doellinger Date: Thu, 4 Apr 2024 14:54:12 +0200 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=91=B7=20use=20current=20version=20of?= =?UTF-8?q?=20the=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Doellinger --- .github/workflows/label-pr.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml index ec3a515..2efdef9 100644 --- a/.github/workflows/label-pr.yml +++ b/.github/workflows/label-pr.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2024 - for information on the respective copyright owner see the NOTICE file or the +# repository https://github.com/boschresearch/pr-size-labeller. +# +# SPDX-License-Identifier: Apache-2.0 + name: Checks the diff size of PRs, labels them, and comments in case they exceed 200 lines of code. on: [pull_request] @@ -7,5 +12,6 @@ jobs: runs-on: ubuntu-22.04 name: Check PR size steps: - - name: Label and comment PR - uses: boschresearch/pr-size-labeler@v4.0.0 + - name: Test the action in the current version + uses: ./ + From 17068dacb2970a4dd9028f70c5a9df683975a02f Mon Sep 17 00:00:00 2001 From: Johannes Doellinger Date: Thu, 4 Apr 2024 14:55:46 +0200 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=92=9A=20add=20checkout=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Doellinger --- .github/workflows/label-pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml index 2efdef9..872bfe5 100644 --- a/.github/workflows/label-pr.yml +++ b/.github/workflows/label-pr.yml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-22.04 name: Check PR size steps: + - uses: actions/checkout@v4 + - name: Test the action in the current version uses: ./