Skip to content

Commit d02cf93

Browse files
Revert "ci: check if repo is not a fork more generic"
This reverts commit 160643d.
1 parent ff4d3ef commit d02cf93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ jobs:
8181
needs: [code_validation, tests]
8282
runs-on: ubuntu-latest
8383
if:
84-
${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
85-
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha', github.ref) &&
86-
github.event_name == 'push' }}
84+
${{ github.repository == 'testing-library/eslint-plugin-testing-library' &&
85+
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
86+
github.ref) && github.event_name == 'push' }}
8787

8888
steps:
8989
- name: Checkout

0 commit comments

Comments
 (0)