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:
Shubham Sharma 2022-04-20 09:57:30 +05:30 committed by GitHub
parent 37c6c59fb4
commit 7a63f3f197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -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