From 954b4e1cec1c099597e13dccbe8ef2cc425c9f0a Mon Sep 17 00:00:00 2001
From: Andre Kurait <akurait@amazon.com>
Date: Fri, 15 Nov 2024 11:16:17 -0600
Subject: [PATCH] Add token to github artifact download

Signed-off-by: Andre Kurait <akurait@amazon.com>
---
 .github/workflows/codecov-publish.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/.github/workflows/codecov-publish.yml b/.github/workflows/codecov-publish.yml
index e6df135987..5aab158cdc 100644
--- a/.github/workflows/codecov-publish.yml
+++ b/.github/workflows/codecov-publish.yml
@@ -20,7 +20,19 @@ jobs:
       - name: Download Workflow Info
         uses: actions/download-artifact@v4
         with:
+<<<<<<< Updated upstream
           name: workflow-info
+=======
+<<<<<<< Updated upstream
+          # Needed for cross workflow downloading
+          github-token: ${{ secrets.GITHUB_TOKEN }}
+          name: workflow_info
+=======
+          # Needed for cross run downloading
+          github-token: ${{ secrets.GITHUB_TOKEN }}
+          name: workflow-info
+>>>>>>> Stashed changes
+>>>>>>> Stashed changes
           run-id: ${{ github.event.workflow_run.id }}
       - name: Set Environment Variables from JSON
         run: |
@@ -34,6 +46,15 @@ jobs:
       - name: Download Coverage Artifacts
         uses: actions/download-artifact@v4
         with:
+<<<<<<< Updated upstream
+=======
+<<<<<<< Updated upstream
+          # Needed for cross workflow downloading
+=======
+          # Needed for cross run downloading
+>>>>>>> Stashed changes
+          github-token: ${{ secrets.GITHUB_TOKEN }}
+>>>>>>> Stashed changes
           path: ./coverage-reports
           pattern: coverage-reports-*
           run-id: ${{ github.event.workflow_run.id }}