mirror of https://github.com/explosion/spaCy.git
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
|
@ -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