This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new ef6af93 only skip fossa on PRs (#9865)
ef6af93 is described below
commit ef6af935fce5a8a7cc1143692375a2e7be1e7086
Author: ʈᵃᵢ <[email protected]>
AuthorDate: Wed May 20 14:21:14 2020 -0700
only skip fossa on PRs (#9865)
---
.github/workflows/license-check.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/workflows/license-check.yml
b/.github/workflows/license-check.yml
index 6f0352c..6b38654 100644
--- a/.github/workflows/license-check.yml
+++ b/.github/workflows/license-check.yml
@@ -19,6 +19,11 @@ jobs:
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')