mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
Make the autoblack job not run on forks
The autoblack job is an occasional cleanup job. If it runs on forks and those PRs are accepted the git history will be weird and that doesn't help anyone. The way to make the job not run on forks is a little non-obvious but based on this thread. https://github.com/prisma/prisma/issues/3539
This commit is contained in:
parent
d4fecdfb82
commit
b8cdbb4bb6
1
.github/workflows/autoblack.yml
vendored
1
.github/workflows/autoblack.yml
vendored
|
@ -9,6 +9,7 @@ on:
|
|||
|
||||
jobs:
|
||||
autoblack:
|
||||
if: github.repository_owner = 'explosion'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
Loading…
Reference in New Issue
Block a user