diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e153d0d..c01f5b2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -112,8 +112,9 @@ # Use always() to signal to the runner that this job must run even if the # previous ones failed. 'if': - ${{ github.repository_owner == 'AdguardTeam' && + ${{ always() && + github.repository_owner == 'AdguardTeam' && ( github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 56183571..a60121fe 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -43,8 +43,9 @@ # Use always() to signal to the runner that this job must run even if the # previous ones failed. 'if': - ${{ github.repository_owner == 'AdguardTeam' && + ${{ always() && + github.repository_owner == 'AdguardTeam' && ( github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository