Skip 'Close Issue on /close' Workflow if the comment was posted on a PR (#2426)

This commit is contained in:
Mr.k 2024-07-25 23:12:06 +03:00 committed by GitHub
parent b9e8b9f697
commit 7acb213a77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,8 @@ on:
jobs: jobs:
closeIssueOnClose: closeIssueOnClose:
# Skip this job if the comment was created/edited on a PR
if: ${{ !github.event.issue.pull_request }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
issues: write issues: write