From b18812ad7a820419fdec3ac9921f018f2b8176f4 Mon Sep 17 00:00:00 2001 From: splincode Date: Thu, 15 Aug 2024 15:27:09 +0300 Subject: [PATCH] ci: add auto label --- .github/workflows/auto-add-version-label.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/auto-add-version-label.yml diff --git a/.github/workflows/auto-add-version-label.yml b/.github/workflows/auto-add-version-label.yml new file mode 100644 index 000000000000..5aa2004c5820 --- /dev/null +++ b/.github/workflows/auto-add-version-label.yml @@ -0,0 +1,16 @@ +name: 🤖 Auto add label version +on: + pull_request: + +jobs: + label-version: + runs-on: ubuntu-latest + steps: + - uses: taiga-family/ci/actions/setup/checkout@v1.67.0 + - uses: taiga-family/ci/actions/setup/variables@v1.67.0 + - uses: taiga-family/ci/actions/run/node-info@v1.67.0 + id: nodejs-workspace + - uses: actions-ecosystem/action-add-labels@v1 + continue-on-error: true + with: + labels: v${{ steps.nodejs-workspace.outputs.root-package-major-version }}