Skip to content

Commit 09e5115

Browse files
Cruz Monrreal IICruz Monrreal II
authored andcommitted
Added check to make sure PR is not opened from ARMmbed account
1 parent a162589 commit 09e5115

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,15 @@ matrix:
280280
- echo 'Checking that there is no GPL licence text in code'
281281
- ! git grep -q --ignore-case "gnu general public";
282282
- ! git grep -q --ignore-case "gnu library general public";
283+
283284
- env:
284285
- NAME=psa-autogen
285286
script:
286287
# Run SPM code generator and check that changes are not needed
287288
- python tools/spm/generate_partition_code.py
288289
- git diff --exit-code
290+
291+
- env:
292+
- NAME=pr-check
293+
script:
294+
- [[ -z "${TRAVIS_PULL_REQUEST_SLUG}" ]] || ! grep -q "^ARMmbed/"

0 commit comments

Comments
 (0)