Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
romkaspb committed May 23, 2024
1 parent c0f8551 commit a526b2a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
6 changes: 4 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ async function run(): Promise<void> {
const ecosystem = getInput('ecosystem')
const { owner } = context.repo
const { repo } = context.repo
const alerts = await fetchAlerts(token, repo, owner, severity, ecosystem, count)
const alerts = await fetchAlerts(
token,
repo,
owner,
severity,
ecosystem,
count,
)
if (alerts.length > 0) {
if (microsoftTeamsWebhookUrl) {
await sendAlertsToMicrosoftTeams(microsoftTeamsWebhookUrl, alerts)
Expand Down

0 comments on commit a526b2a

Please sign in to comment.