From 7d4577775ec9a55f5af934996b8d076904dd482c Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Mon, 31 Aug 2026 19:14:18 +0000 Subject: [PATCH] ci: Fix update discovery artifacts github action workflow --- .github/workflows/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 608a67e940..da5f24b19a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -85,9 +85,12 @@ jobs: working-directory: ./scripts - name: Push changes - run: git push -u origin update-discovery-artifacts-${STEPS_DATE_OUTPUTS_CURRENT_DATE} env: - STEPS_DATE_OUTPUTS_CURRENT_DATE: ${{ steps.date.outputs.current_date }} + GH_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} + BRANCH_NAME: update-discovery-artifacts-${{ steps.date.outputs.current_date }} + run: | + gh auth setup-git + git push -u origin "$BRANCH_NAME" - name: Prepare summary for PR Body id: pr_body