From 5bcd7513d1cfb020552a92084f4dfa19c6c7c109 Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Mon, 24 Feb 2025 21:42:50 -0600 Subject: [PATCH] Swap ORG to OWNER --- .github/workflows/comment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/comment.yaml b/.github/workflows/comment.yaml index a470e329..78fe5ec1 100644 --- a/.github/workflows/comment.yaml +++ b/.github/workflows/comment.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-24.04 outputs: IS_PR: ${{ steps.call.outputs.IS_PR || steps.run.outputs.IS_PR }} - ORG: ${{ steps.call.outputs.ORG || steps.run.outputs.ORG }} + OWNER: ${{ steps.call.outputs.OWNER || steps.run.outputs.OWNER }} REPO: ${{ steps.call.outputs.REPO || steps.run.outputs.REPO }} RUN_ID: ${{ steps.call.outputs.RUN_ID || steps.run.outputs.RUN_ID }} REPO_FULL_NAME: ${{ steps.call.outputs.REPO_FULL_NAME || steps.run.outputs.REPO_FULL_NAME }} @@ -36,7 +36,7 @@ jobs: echo "RUN_ID=${{ github.run_id }}" >> $GITHUB_OUTPUT REPO_FULL_NAME="${{ github.repository }}" parts=(${REPO_FULL_NAME//\// }) - echo "ORG=${parts[0]}" >> $GITHUB_OUTPUT + echo "OWNER=${parts[0]}" >> $GITHUB_OUTPUT echo "REPO=${parts[1]}" >> $GITHUB_OUTPUT echo "REPO_FULL_NAME=${REPO_FULL_NAME}" >> $GITHUB_OUTPUT echo "SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT @@ -46,7 +46,7 @@ jobs: if: github.event_name == 'workflow_run' run: | echo "RUN_ID=${{ github.event.workflow_run.id }}" >> $GITHUB_OUTPUT - echo "ORG=${{ github.event.workflow_run.repository.owner.login }}" >> $GITHUB_OUTPUT + echo "OWNER=${{ github.event.workflow_run.repository.owner.login }}" >> $GITHUB_OUTPUT echo "REPO=${{ github.event.workflow_run.repository.name }}" >> $GITHUB_OUTPUT echo "REPO_FULL_NAME=${{ github.event.workflow_run.repository.full_name }}" >> $GITHUB_OUTPUT echo "SHA=${{ github.event.workflow_run.head_sha }}" >> $GITHUB_OUTPUT @@ -72,7 +72,7 @@ jobs: script: | const fs = require('fs'); const artifact = '${{ env.ARTIFACT_NAME }}'; - const owner = '${{ needs.setup-env.outputs.ORG }}'; + const owner = '${{ needs.setup-env.outputs.OWNER }}'; const repo = '${{ needs.setup-env.outputs.REPO }}'; const sha = '${{ needs.setup-env.outputs.SHA }}'; const header = `## Test results for commit ${sha}\n\n`;