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 }}