Avoid using context that is not accessable from external contributors (#33866)
* fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -186,7 +186,19 @@ workflows:
|
|||||||
version: 2
|
version: 2
|
||||||
setup_and_quality:
|
setup_and_quality:
|
||||||
when:
|
when:
|
||||||
not: <<pipeline.parameters.nightly>>
|
and:
|
||||||
|
- equal: [<<pipeline.project.git_url>>, https://github.com/huggingface/transformers]
|
||||||
|
- not: <<pipeline.parameters.nightly>>
|
||||||
|
jobs:
|
||||||
|
- check_circleci_user
|
||||||
|
- check_code_quality
|
||||||
|
- check_repository_consistency
|
||||||
|
- fetch_tests
|
||||||
|
|
||||||
|
setup_and_quality_2:
|
||||||
|
when:
|
||||||
|
not:
|
||||||
|
equal: [<<pipeline.project.git_url>>, https://github.com/huggingface/transformers]
|
||||||
jobs:
|
jobs:
|
||||||
- check_circleci_user
|
- check_circleci_user
|
||||||
- check_code_quality
|
- check_code_quality
|
||||||
|
|||||||
Reference in New Issue
Block a user