Bug 1575249 - Run the check for incorrect file permissions in the CI r=ahal
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 27 Aug 2019 21:10:58 +0000
changeset 554047 cd3f609f008112adf2fdba0180bfe1bb9802cfe8
parent 554046 3076039dfbf4be60d0d90a011298770f2f2ec930
child 554048 739c2eaf02feee215fee5197b0b5b3bbedcba7af
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1575249
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1575249 - Run the check for incorrect file permissions in the CI r=ahal Differential Revision: https://phabricator.services.mozilla.com/D43362
taskcluster/ci/source-test/mozlint.yml
--- a/taskcluster/ci/source-test/mozlint.yml
+++ b/taskcluster/ci/source-test/mozlint.yml
@@ -216,8 +216,33 @@ rustfmt:
     platform: lint/opt
     treeherder:
         symbol: rustfmt
     run:
         mach: lint -l rustfmt -f treeherder -f json:/builds/worker/mozlint.json
     when:
         files-changed:
             - '**/*.rs'
+
+
+file-perm:
+    description: Check for incorrect permissions on source files
+    platform: lint/opt
+    treeherder:
+        symbol: file-perm
+    run:
+        mach: lint -l file-perm -f treeherder -f json:/builds/worker/mozlint.json
+    when:
+        files-changed:
+            - '**/*.c'
+            - '**/*.cc'
+            - '**/*.cpp'
+            - '**/*.h'
+            - '**/*.html'
+            - '**/*.js'
+            - '**/*.jsm'
+            - '**/*.jsx'
+            - '**/*.m'
+            - '**/*.mm'
+            - '**/*.rs'
+            - '**/*.xhtml'
+            - '**/*.xml'
+            - '**/*.xul'