Skip to content

Commit

Permalink
Fix check-workflow-run to write its output correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Sep 16, 2024
1 parent d543dc2 commit 4a6d5cb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/check-workflow-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
permissions:
actions: read
outputs:
output: ${{ steps.check.outputs.test }}
output: ${{ steps.check.outputs.updated-refs }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -36,8 +36,12 @@ jobs:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- id: check
run: |-
python3 tools/ci/check_for_updated_refs.py >> "$GITHUB_OUTPUT"
run: |
{
echo 'updated-refs<<EOF'
python3 tools/ci/check_for_updated_refs.py
echo EOF
} >> "$GITHUB_OUTPUT"
env:
GIT_PUSH_OUTPUT: ${{ runner.temp }}/git-push-output/git-push-output.txt
REFS: ${{ inputs.check-refs }}
Expand Down

0 comments on commit 4a6d5cb

Please sign in to comment.