Skip to content

Commit

Permalink
chore: Add Fosstars rating (#52)
Browse files Browse the repository at this point in the history
* chore: Add Fosstars rating

* add badge
  • Loading branch information
marikaner authored Aug 2, 2024
1 parent 1e599be commit 8dfabfe
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/fosstars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Fosstars (Security)'
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

jobs:
fosstars-rating:
runs-on: ubuntu-latest
name: 'Security rating'
steps:
- uses: actions/checkout@v4
- uses: SAP/[email protected]
with:
token: '${{ secrets.GH_CLOUD_SDK_JS_ADMIN_WRITE_TOKEN }}'
- if: failure() || cancelled()
name: Slack Notify
uses: slackapi/[email protected]
with:
payload: |
{
"username": "Fosstars Rating",
"text": "Fosstars rating <https://github.com/SAP/ai-sdk-js/actions/runs/${{ github.run_id }}|failed>.",
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![REUSE status](https://api.reuse.software/badge/github.com/SAP/ai-sdk-js)](https://api.reuse.software/info/github.com/SAP/ai-sdk-js)
[![Fosstars security rating](https://github.com/SAP/ai-sdk-js/blob/fosstars/fosstars_badge.svg)](https://github.com/SAP/ai-sdk-js/blob/fosstars/fosstars_report.md)

# ai-sdk-js

Expand Down

0 comments on commit 8dfabfe

Please sign in to comment.