From 06547dcb420c0848134fac064e1a993edc315339 Mon Sep 17 00:00:00 2001 From: Sam Barnes <1211977+sambarnes@users.noreply.github.com> Date: Thu, 5 Aug 2021 14:06:30 -0600 Subject: [PATCH] Fix README example to not run workflow on delete --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b3bffd6..83ae415 100644 --- a/README.md +++ b/README.md @@ -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: