Skip to content

Commit

Permalink
not to ignore self for opened and synchronize (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored May 21, 2021
1 parent 7d7b1ed commit 833b598
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/rules/ignore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ export default async function (): Promise<boolean> {
}

if (await ignoreSelf()) {
if (is('pull_request_target', ['synchronize', 'opened'])) {
return false
}
return true
}

Expand Down

0 comments on commit 833b598

Please sign in to comment.