Skip to content

Commit c0aa52d

Browse files
Merge pull request #211 from amulyavarote/feature/fossa_workflow
Added fossa workflow to js-sdk
2 parents b6c87b5 + ed636ec commit c0aa52d

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.github/workflows/fossa.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: fossa
2+
on:
3+
repository_dispatch:
4+
types: [fossa]
5+
push:
6+
branches:
7+
- master
8+
- release-*
9+
tags:
10+
- v*
11+
pull_request:
12+
branches:
13+
- master
14+
- release-*
15+
workflow_dispatch: {}
16+
jobs:
17+
fossa-scan:
18+
if: github.repository_owner == 'dapr' # FOSSA is not intended to run on forks.
19+
runs-on: ubuntu-latest
20+
env:
21+
FOSSA_API_KEY: b88e1f4287c3108c8751bf106fb46db6 # This is a PUSH ONLY token that is safe to be shared with the public
22+
steps:
23+
- name: "Checkout code"
24+
uses: actions/checkout@v3
25+
26+
- name: "Run FOSSA Scan"
27+
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
28+
with:
29+
api-key: ${{ env.FOSSA_API_KEY }}
30+
31+
- name: "Run FOSSA Test"
32+
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
33+
with:
34+
api-key: ${{ env.FOSSA_API_KEY }}
35+
run-tests: true

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Dapr Node.js SDK
1+
[![Discord](https://img.shields.io/discord/778680217417809931)]()
2+
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/dapr/js-sdk/blob/master/LICENSE)
3+
[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B162%2Fgithub.com%2Fdapr%2Fcomponents-contrib.svg?type=shield)](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fdapr%2Fcomponents-contrib?ref=badge_shield)
4+
5+
# Dapr Node.js SDKs
26

37
The official [Dapr](https://dapr.io) Node.js SDK that allows interfacing with the Dapr sidecar for easy application building.
48

0 commit comments

Comments
 (0)