(cherry picked from commit ada02f1966efa1957587bd9d763a5c86fdb19602)
Matt Clay authored on 2019/10/02 00:58:03... | ... |
@@ -25,6 +25,13 @@ except ImportError: |
25 | 25 |
|
26 | 26 |
def main(): # type: () -> None |
27 | 27 |
"""Main entry point.""" |
28 |
+ repo_full_name = os.environ['REPO_FULL_NAME'] |
|
29 |
+ required_repo_full_name = 'ansible/ansible' |
|
30 |
+ |
|
31 |
+ if repo_full_name != required_repo_full_name: |
|
32 |
+ sys.stderr.write('Skipping matrix check on repo "%s" which is not "%s".\n' % (repo_full_name, required_repo_full_name)) |
|
33 |
+ return |
|
34 |
+ |
|
28 | 35 |
with open('shippable.yml', 'rb') as yaml_file: |
29 | 36 |
yaml = yaml_file.read().decode('utf-8').splitlines() |
30 | 37 |
|