diff --git a/README.md b/README.md index d5b3ca6..c432f80 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ on: - cron: "0 0 * * *" pull_request: + types: [opened] ``` Mergeabot knows if it's running on a `pull_request` event in a Dependabot PR @@ -59,19 +60,6 @@ and, if so, leaves a comment on the PR indicating, roughly, "I got this." ![Mergeabot comment on opened event](./screenshots/opened-comment.png) -When configured this way, Mergeabot will run when the PR is opened or updated, -so it can let you know that the updates have reset the clock on the quarantine: - -![Mergeabot comment on synchronized event](./screenshots/synchronized-comment.png) - -If you don't prefer this, just limit it to only `opened` events: - -```yaml -on: - pull_request: - types: [opened] -``` - ## Permissions Dependabot PRs use a token with read-only permissions by default, so you'll need @@ -98,6 +86,7 @@ on: - cron: "0 0 * * *" pull_request: + types: [opened] permissions: contents: write diff --git a/screenshots/synchronized-comment.png b/screenshots/synchronized-comment.png deleted file mode 100644 index 72046d9..0000000 Binary files a/screenshots/synchronized-comment.png and /dev/null differ