disable notify in forked repository

This commit is contained in:
hellodword 2022-09-12 22:36:23 +08:00
parent 88812f05f5
commit 53e2c1f7cd
2 changed files with 4 additions and 2 deletions

View File

@ -112,7 +112,8 @@
# Use always() to signal to the runner that this job must run even if the
# previous ones failed.
'if':
${{ always() &&
${{ github.repository_owner == 'AdguardTeam' &&
always() &&
(
github.event_name == 'push' ||
github.event.pull_request.head.repo.full_name == github.repository

View File

@ -43,7 +43,8 @@
# Use always() to signal to the runner that this job must run even if the
# previous ones failed.
'if':
${{ always() &&
${{ github.repository_owner == 'AdguardTeam' &&
always() &&
(
github.event_name == 'push' ||
github.event.pull_request.head.repo.full_name == github.repository