From 6e65634d6648d939a9fa4be7f8f2b3c6e152c5e1 Mon Sep 17 00:00:00 2001 From: kerthcet Date: Sun, 23 Jun 2024 20:24:38 +0800 Subject: [PATCH] add token Signed-off-by: kerthcet --- .github/workflows/kube-actions.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/kube-actions.yaml b/.github/workflows/kube-actions.yaml index 0370126..6ca82bd 100644 --- a/.github/workflows/kube-actions.yaml +++ b/.github/workflows/kube-actions.yaml @@ -97,6 +97,8 @@ jobs: done <<< "$COMMENT_BODY" - name: Merge PR if LGTMed and approved + env: + GH_TOKEN: ${{ secrets.AGENT_TOKEN }} run: | PR_NUMBER=$(jq -r '.issue.number' $GITHUB_EVENT_PATH) LABELS=$(gh pr view $PR_NUMBER --json labels --jq '.labels[].name')