mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 09:04:47 -05:00
Skip 'Close Issue on /close' Workflow if the comment was posted on a PR (#2426)
This commit is contained in:
2
.github/workflows/issue-slash-commands.yaml
vendored
2
.github/workflows/issue-slash-commands.yaml
vendored
@ -6,6 +6,8 @@ on:
|
||||
|
||||
jobs:
|
||||
closeIssueOnClose:
|
||||
# Skip this job if the comment was created/edited on a PR
|
||||
if: ${{ !github.event.issue.pull_request }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
|
Reference in New Issue
Block a user