mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-02-14 18:29:53 +00:00
Update fossa (#826)
* Transition FOSSA to locally-managed action * correct ref
This commit is contained in:
15
.github/workflows/pr-license-scan.yaml
vendored
15
.github/workflows/pr-license-scan.yaml
vendored
@@ -1,19 +1,18 @@
|
||||
name: PR license scan
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target: # this is safe as these scans do not execute provided code
|
||||
|
||||
jobs:
|
||||
fossa-scan:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: "Run FOSSA Analyze"
|
||||
uses: fossas/fossa-action@main
|
||||
with:
|
||||
api-key: 1d5511d63d5a4ccda6d3cef2a7ef08c1 # push-only token, safe to expose
|
||||
- name: "Run FOSSA Test"
|
||||
uses: fossas/fossa-action@main
|
||||
ref: ${{ github.head_ref }}
|
||||
- name: "Install FOSSA"
|
||||
uses: replicatedhq/action-fossa/install@main
|
||||
- name: "Run FOSSA Scan"
|
||||
uses: replicatedhq/action-fossa/scan@main
|
||||
with:
|
||||
api-key: 1d5511d63d5a4ccda6d3cef2a7ef08c1 # push-only token, safe to expose
|
||||
run-tests: true
|
||||
api-key: ${{ secrets.FOSSA_API_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user