From 39d1ffad8f35477fbbd0b51de81d383991b663d7 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62367544+tilucasoli@users.noreply.github.com> Date: Fri, 28 Jun 2024 17:01:32 -0300 Subject: [PATCH] Update add_label.yml --- .github/workflows/add_label.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add_label.yml b/.github/workflows/add_label.yml index f02229768..314b05a0b 100644 --- a/.github/workflows/add_label.yml +++ b/.github/workflows/add_label.yml @@ -17,11 +17,12 @@ jobs: - uses: actions/github-script@v7 with: script: | + console.log(github.event.pull_request.labels) github.rest.issues.removeLabel({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - name: ["mix", "mix_lint", "mix_annotations", "mix_generator", "documentation", "examples", "repo"] + name: github.event.pull_request.labels }) const { execSync } = require('child_process')