Skip to content

Commit

Permalink
added other solution
Browse files Browse the repository at this point in the history
  • Loading branch information
uberfresh1914 committed Jan 31, 2024
1 parent b16fcba commit 78e00a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
if: github.event_name != 'release' && github.event_name != 'pull_request'
if: github.event_name != 'release' && github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
build_django_50:
runs-on: ubuntu-latest
if: github.event_name != 'release' && github.event_name != 'pull_request'
if: github.event_name != 'release' && github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
needs: lint
strategy:
matrix:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

build_django_42:
runs-on: ubuntu-latest
if: github.event_name != 'release' && github.event_name != 'pull_request'
if: github.event_name != 'release' && github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
strategy:
matrix:
python-version: ["3.8", "3.9"]
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:

build_django_32:
runs-on: ubuntu-latest
if: github.event_name != 'release' && github.event_name != 'pull_request'
if: github.event_name != 'release' && github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]
Expand Down

0 comments on commit 78e00a3

Please sign in to comment.