Skip to content

Commit 1b6be21

Browse files
Filtro para não ocorrer trigger do workflow para issues deletadas
1 parent d7327c2 commit 1b6be21

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/issue-trigger.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: issue comment
2-
on: issue_comment
2+
on:
3+
issue_comment:
4+
types: [created, edited]
35

46
jobs:
57
issue_commented:
68
name: Issue comment
7-
if: ${{ !github.event.issue.pull_request }}
9+
if: ${{ !github.event.issue.pull_request && github.event.action != 'deleted' }}
810
runs-on: ubuntu-latest
911
steps:
1012
- name: Checkout code

0 commit comments

Comments
 (0)