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: on:
push: push:
branches: branches:
- master - main
- release-* - release-*
- feature/*
tags: tags:
- v* - v*
pull_request: pull_request:
branches: branches:
- master - main
- release-* - release-*
- feature/*
workflow_dispatch: {} workflow_dispatch: {}
jobs: jobs:
fossa-scan: fossa-scan:
@ -36,12 +34,12 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: "Run FOSSA Scan" - 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: with:
api-key: ${{ env.FOSSA_API_KEY }} api-key: ${{ env.FOSSA_API_KEY }}
- name: "Run FOSSA Test" - 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: with:
api-key: ${{ env.FOSSA_API_KEY }} api-key: ${{ env.FOSSA_API_KEY }}
run-tests: true run-tests: true