From 96df0aa7e7118823429a87d02589118cdebf3680 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Fri, 10 Jan 2025 12:23:45 -0500 Subject: [PATCH] echo it --- .github/workflows/pull_request.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index fd94ba7f..edb6e144 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -142,16 +142,18 @@ jobs: - name: Get Job ID from GH API id: get-job-id env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_PAT }} run: | jobs=$(gh api repos/${{ github.repository }}/actions/runs/${{ github.run_id}}/attempts/${{ github.run_attempt }}/jobs) job_id=$(echo $jobs | jq -r '.jobs[] | select(.runner_name=="${{ runner.name }}") | .id') + echo $job_id echo "job_id=$job_id" >> $GITHUB_OUTPUT - name: Build components of the comment id: build-components run: | report_link=$(echo "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/${{ steps.get-job-id.outputs.job_id }}") + echo $report_link echo "time=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT echo "commit_id=$GITHUB_SHA" >> $GITHUB_OUTPUT echo ${{steps.commit.outputs.markdown_issues}}