This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit 6ce93ddda32e43db1945f34fc9f3801114e7a4a8
Author: Zoran Regvart <[email protected]>
AuthorDate: Tue Oct 27 14:51:10 2020 +0100

    CAMEL-14682: GitHub action to check Yarn cache
    
    Since artifacts are present in the repository we need to make sure to
    detect any corruption of the artifacts (malicious or otherwise). This
    adds a GitHub Action to run the yarn cache check and detect any
    corruption of the artifacts.
---
 .github/workflows/pr.yaml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml
new file mode 100644
index 0000000..e11c0f1
--- /dev/null
+++ b/.github/workflows/pr.yaml
@@ -0,0 +1,28 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Check Yarn cache
+
+on: pull_request
+
+jobs:
+  check:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/[email protected]
+    - name: Run check
+      run: yarn workspaces foreach install --check-cache

Reply via email to