From d5a56d362fadd843a242c35b75f6038770547cbd Mon Sep 17 00:00:00 2001 From: sahejkm Date: Thu, 16 May 2024 10:24:54 +0800 Subject: [PATCH] test5 --- .github/workflows/add-label-on-approve.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/add-label-on-approve.yml b/.github/workflows/add-label-on-approve.yml index 6f7abb1be90..e83530be0b6 100644 --- a/.github/workflows/add-label-on-approve.yml +++ b/.github/workflows/add-label-on-approve.yml @@ -9,14 +9,13 @@ concurrency: jobs: label_issues: - if: github.event.review.state == 'commented' && !contains( github.event.pull_request.labels.*.name, '$LABELS') + if: github.event.review.state == 'commented' && !contains( github.event.pull_request.labels.*.name, 'extended-tests') runs-on: ubuntu-latest permissions: pull-requests: write steps: - - run: gh pr edit "$NUMBER" --add-label "$LABELS" + - run: gh pr edit "$NUMBER" --add-label "extended-tests" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} NUMBER: ${{ github.event.pull_request.number }} - LABELS: extended-tests