Skip to content

Commit

Permalink
ci: Fix PR resolution in comment (#4592)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored Sep 8, 2023
1 parent 7bb45f0 commit 4a03adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/approval-comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
run: |
mkdir -p /tmp/artifacts
echo ${{ github.event.review.body }} >> /tmp/artifacts/metadata.txt
echo ${{ github.event.pull_request.number }} >> /tmp/artifacts/metadata.txt
echo ${{ github.event.review.commit_id }} >> /tmp/artifacts/metadata.txt
cat /tmp/artifacts/metadata.txt
- uses: ./.github/actions/upload-artifact
3 changes: 1 addition & 2 deletions .github/workflows/snapshot-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
- uses: ./.github/actions/download-artifact
- name: Parse artifacts and assign GA environment variables
run: |
repo=$(head -n 1 /tmp/artifacts/metadata.txt)
pr_number=$(head -n 1 /tmp/artifacts/metadata.txt)
pr_number=$(head -n 2 /tmp/artifacts/metadata.txt | tail -n 1)
pr_commit=$(tail -n 1 /tmp/artifacts/metadata.txt)
echo "PR_COMMIT=$pr_commit" >> $GITHUB_ENV
echo "PR_NUMBER=$pr_number" >> $GITHUB_ENV
Expand Down

0 comments on commit 4a03adf

Please sign in to comment.