diff --git a/.github/workflows/touchstone-comment.yaml b/.github/workflows/touchstone-comment.yaml index b0eaa6f6..6bb2b84d 100644 --- a/.github/workflows/touchstone-comment.yaml +++ b/.github/workflows/touchstone-comment.yaml @@ -1,7 +1,8 @@ name: Continuous Benchmarks (Comment) concurrency: - group: ${{ github.workflow }}-${{ github.head_ref }} + # head_ref is empty for workflow_run events, so group by the Receive run. + group: ${{ github.workflow }}-${{ github.event.workflow_run.id }} cancel-in-progress: true on: @@ -19,7 +20,8 @@ jobs: upload: runs-on: ubuntu-latest if: >- - ${{ github.event.workflow_run.event == 'pull_request' }} + ${{ github.event.workflow_run.event == 'pull_request' && + github.event.workflow_run.conclusion != 'skipped' }} steps: - uses: lorenzwalthert/touchstone/actions/comment@7e6072a25d1f8d72649188bc711113039ef94b75 with: