Skip to content

Commit 7a63f3f

Browse files
authored
Update fossa workflow's action version and trigger branches (dapr#282)
* Pin fossa-action version Signed-off-by: Shubham Sharma <shubhash@microsoft.com> * Update branch triggers Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
1 parent 37c6c59 commit 7a63f3f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/fossa.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,14 @@ name: fossa
1515
on:
1616
push:
1717
branches:
18-
- master
18+
- main
1919
- release-*
20-
- feature/*
2120
tags:
2221
- v*
2322
pull_request:
2423
branches:
25-
- master
24+
- main
2625
- release-*
27-
- feature/*
2826
workflow_dispatch: {}
2927
jobs:
3028
fossa-scan:
@@ -36,12 +34,12 @@ jobs:
3634
uses: actions/checkout@v2
3735

3836
- name: "Run FOSSA Scan"
39-
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
37+
uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
4038
with:
4139
api-key: ${{ env.FOSSA_API_KEY }}
4240

4341
- name: "Run FOSSA Test"
44-
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
42+
uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
4543
with:
4644
api-key: ${{ env.FOSSA_API_KEY }}
4745
run-tests: true

0 commit comments

Comments
 (0)