Skip to content

Commit

Permalink
chore(ci): allow checkouts from forks (#62)
Browse files Browse the repository at this point in the history
* chore(ci): allow checkouts from forks

* chore(ci): run on changes to ci files
  • Loading branch information
mharrisb1 authored Aug 26, 2024
1 parent 9190074 commit e5754f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Tox
on:
pull_request:
paths:
- "src/**"
- .github/**
- src/**
- pyproject.toml

jobs:
Expand All @@ -17,6 +18,8 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit e5754f8

Please sign in to comment.