Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit b6282a2

Browse files
committed
fix remote repo action firing
1 parent d335d5f commit b6282a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/code.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
lint:
1212
# pull requests are a duplicate of a branch push if within the same repo.
13-
if: github.event_name != 'pull_request' || github.event.repository.full_name != github.repository
13+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
1414
runs-on: ubuntu-latest
1515

1616
steps:
@@ -29,7 +29,7 @@ jobs:
2929
tox -e pre-commit,mypy
3030
3131
test:
32-
if: github.event_name != 'pull_request' || github.event.repository.full_name != github.repository
32+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
3333
strategy:
3434
fail-fast: false
3535
matrix:
@@ -65,7 +65,7 @@ jobs:
6565
files: cov.xml
6666

6767
container:
68-
if: github.event_name != 'pull_request' || github.event.repository.full_name != github.repository
68+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
6969
runs-on: ubuntu-latest
7070
permissions:
7171
contents: read

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
docs:
9-
if: github.event_name != 'pull_request' || github.event.repository.full_name != github.repository
9+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
1010
strategy:
1111
fail-fast: false
1212
matrix:

0 commit comments

Comments
 (0)