From f53e36794f1ee3f33fc4ebdf5f2b329e67cf6d16 Mon Sep 17 00:00:00 2001 From: Josh Dover Date: Thu, 17 Feb 2022 11:53:35 +0100 Subject: [PATCH] [Fleet] Fix GITHUB_TOKEN for Fleet QA labeling action --- .github/workflows/label-qa-fixed-in.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/label-qa-fixed-in.yml b/.github/workflows/label-qa-fixed-in.yml index 7ef6b0666e6c6..bb203d7d17c43 100644 --- a/.github/workflows/label-qa-fixed-in.yml +++ b/.github/workflows/label-qa-fixed-in.yml @@ -37,7 +37,8 @@ jobs: } } prnumber: ${{ github.event.number }} - token: ${{ secrets.FLEET_TECH_KIBANA_USER_TOKEN }} + env: + GITHUB_TOKEN: ${{ secrets.FLEET_TECH_KIBANA_USER_TOKEN }} - uses: sergeysova/jq-action@v2 id: issues_to_label with: @@ -75,4 +76,5 @@ jobs: } issueid: ${{ matrix.issueNodeId }} labelids: ${{ needs.fetch_issues_to_label.outputs.label_ids }} - token: ${{ secrets.FLEET_TECH_KIBANA_USER_TOKEN }} + env: + GITHUB_TOKEN: ${{ secrets.FLEET_TECH_KIBANA_USER_TOKEN }}