diff --git a/.github/workflows/pr-review-hack.yml b/.github/workflows/pr-review-hack.yml index f023a0f9f443..6bc6638a05ff 100644 --- a/.github/workflows/pr-review-hack.yml +++ b/.github/workflows/pr-review-hack.yml @@ -22,6 +22,7 @@ jobs: actor: ${{ steps.get-info.outputs.actor }} labels: ${{ steps.get-info.outputs.labels }} resource_url: ${{ steps.get-info.outputs.resource_url }} + if: {{ github.event.workflow_run.conclusion == 'success' }} steps: - id: get-info env: diff --git a/.github/workflows/pr-reviews.yml b/.github/workflows/pr-reviews.yml index 98a0ed6a0ee5..46d1ca4e5fb2 100644 --- a/.github/workflows/pr-reviews.yml +++ b/.github/workflows/pr-reviews.yml @@ -19,7 +19,7 @@ jobs: echo "::notice:: Comment on PR #${{ github.event.pull_request.number }}" echo "${{ github.event.pull_request.number }}" > pull_request_number - name: Upload the PR number - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: pull_request_number path: ./pull_request_number \ No newline at end of file