From 9358fcd2ef8261795b07afa2b791e282d392f457 Mon Sep 17 00:00:00 2001 From: Nadin Jbara <93648739+nadin-Starkware@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:02:54 +0300 Subject: [PATCH] reorder (#60) --- .github/workflows/updload_artifacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/updload_artifacts.yml b/.github/workflows/updload_artifacts.yml index 01e7873..54c63c6 100644 --- a/.github/workflows/updload_artifacts.yml +++ b/.github/workflows/updload_artifacts.yml @@ -13,10 +13,10 @@ jobs: - name: set env vars # if: github.event.workflow_run.pull_requests != '' run: | + echo "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV pr_number=$(gh pr list --head "${{ github.event.workflow_run.head_branch }}" --json number --jq '.[0].number') echo "PR_NUMBER=$pr_number" >> $GITHUB_ENV echo "WORKFLOW_LINK=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" >> $GITHUB_ENV - echo "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV echo "The workflow run URL is: $GITHUB_RUN_URL" - name: Add a comment to the PR