You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by su...@apache.org on 2022/06/29 23:05:09 UTC

[superset] branch organize-actions created (now 5acd701bc1)

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

suddjian pushed a change to branch organize-actions
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 5acd701bc1 one action, one file

This branch includes the following new commits:

     new 5acd701bc1 one action, one file

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: one action, one file

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

suddjian pushed a commit to branch organize-actions
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 5acd701bc10ef29e2b05a03f831c6af615d10a6a
Author: David Aaron Suddjian <aa...@gmail.com>
AuthorDate: Wed Jun 29 17:04:48 2022 -0600

    one action, one file
---
 .github/workflows/license-check.yml                | 51 ++++++++++++++++++++++
 .../workflows/{misc.yml => prefer-typescript.yml}  | 45 +------------------
 2 files changed, 52 insertions(+), 44 deletions(-)

diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml
new file mode 100644
index 0000000000..9ae633bdc4
--- /dev/null
+++ b/.github/workflows/license-check.yml
@@ -0,0 +1,51 @@
+name: License Check
+
+on:
+  push:
+    branches-ignore:
+      - "dependabot/**"
+  pull_request:
+
+jobs:
+  license_check:
+    name: License Check
+    runs-on: ubuntu-20.04
+    steps:
+      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
+        uses: actions/checkout@v2
+        with:
+          persist-credentials: false
+          submodules: recursive
+      - name: Setup Java
+        uses: actions/setup-java@v1
+        with:
+          java-version: 8
+      - name: Generate fossa report
+        env:
+          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
+        run: |
+          set -eo pipefail
+          if [[ "${{github.event_name}}" != "pull_request" ]]; then
+            ./scripts/fossa.sh
+            exit 0
+          fi
+
+          URL="https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files"
+          FILES=$(curl -s -X GET -G $URL | jq -r '.[] | .filename')
+
+          cat<<EOF
+          CHANGED FILES:
+          $FILES
+
+          EOF
+
+          if [[ "${FILES}" =~ (.*package*\.json|requirements\/[a-z_-]+\.txt|setup\.py) ]]; then
+            echo "Detected dependency changes... running fossa check"
+
+            ./scripts/fossa.sh
+          else
+            echo "No dependency changes... skiping fossa check"
+          fi
+        shell: bash
+      - name: Run license check
+        run: ./scripts/check_license.sh
diff --git a/.github/workflows/misc.yml b/.github/workflows/prefer-typescript.yml
similarity index 55%
rename from .github/workflows/misc.yml
rename to .github/workflows/prefer-typescript.yml
index f8b5fb3fc6..8005cf36a3 100644
--- a/.github/workflows/misc.yml
+++ b/.github/workflows/prefer-typescript.yml
@@ -1,4 +1,4 @@
-name: Miscellaneous
+name: Prefer Typescript
 
 on:
   push:
@@ -7,49 +7,6 @@ on:
   pull_request:
 
 jobs:
-  license_check:
-    name: License Check
-    runs-on: ubuntu-20.04
-    steps:
-      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
-        uses: actions/checkout@v2
-        with:
-          persist-credentials: false
-          submodules: recursive
-      - name: Setup Java
-        uses: actions/setup-java@v1
-        with:
-          java-version: 8
-      - name: Generate fossa report
-        env:
-          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
-        run: |
-          set -eo pipefail
-          if [[ "${{github.event_name}}" != "pull_request" ]]; then
-            ./scripts/fossa.sh
-            exit 0
-          fi
-
-          URL="https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files"
-          FILES=$(curl -s -X GET -G $URL | jq -r '.[] | .filename')
-
-          cat<<EOF
-          CHANGED FILES:
-          $FILES
-
-          EOF
-
-          if [[ "${FILES}" =~ (.*package*\.json|requirements\/[a-z_-]+\.txt|setup\.py) ]]; then
-            echo "Detected dependency changes... running fossa check"
-
-            ./scripts/fossa.sh
-          else
-            echo "No dependency changes... skiping fossa check"
-          fi
-        shell: bash
-      - name: Run license check
-        run: ./scripts/check_license.sh
-
   prefer_typescript:
     if: github.ref == 'ref/heads/master' && github.event_name == 'pull_request'
     name: Prefer Typescript