Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Fix README example to not run workflow on delete #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ Optionally, you may provide credentials to authenticate as a GitHub App and labe

```yaml
name: Demo
on: [issue_comment]
# Prevent the workflow from running again when deleting a comment with the trigger phrase
on:
issue_comment:
types: [created]

jobs:
label-pr:
Expand Down