mirror of https://github.com/dapr/go-sdk.git
Update fossa workflow's action version and trigger branches (#282)
* Pin fossa-action version Signed-off-by: Shubham Sharma <shubhash@microsoft.com> * Update branch triggers Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
This commit is contained in:
parent
37c6c59fb4
commit
7a63f3f197
|
@ -15,16 +15,14 @@ name: fossa
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- release-*
|
||||
- feature/*
|
||||
tags:
|
||||
- v*
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- release-*
|
||||
- feature/*
|
||||
workflow_dispatch: {}
|
||||
jobs:
|
||||
fossa-scan:
|
||||
|
@ -36,12 +34,12 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
|
||||
- name: "Run FOSSA Scan"
|
||||
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
|
||||
uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
|
||||
with:
|
||||
api-key: ${{ env.FOSSA_API_KEY }}
|
||||
|
||||
- name: "Run FOSSA Test"
|
||||
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
|
||||
uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
|
||||
with:
|
||||
api-key: ${{ env.FOSSA_API_KEY }}
|
||||
run-tests: true
|
Loading…
Reference in New Issue