diff --git a/.github/workflows/diff.yml b/.github/workflows/diff.yml index 3db66357d..938892349 100644 --- a/.github/workflows/diff.yml +++ b/.github/workflows/diff.yml @@ -10,7 +10,7 @@ env: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: branch_status: - if: ${{ github.event.issue.pull_request }} + if: ${{ github.event.issue.pull_request && github.event.issue.state == 'open' }} runs-on: ubuntu-latest permissions: contents: read