Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalnagar committed Aug 20, 2024
1 parent 6070ccb commit d063196
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
# zenduty_api_key: ${{ secrets.ZENDUTY_API_KEY }}
# zenduty_service_id: ${{ secrets.ZENDUTY_SERVICE_ID }}
# zenduty_escalation_policy_id: ${{ secrets.ZENDUTY_ESCALATION_POLICY_ID }}
# email_from: ${{ secrets.EMAIL_FROM }}
# email_list: ${{ secrets.EMAIL_BCC_LIST }}
# email_transport_smtp_user: ${{ secrets.EMAIL_TRANSPORT_SMTP_USER }}
# email_transport_smtp_password: ${{ secrets.EMAIL_TRANSPORT_SMTP_PASSWORD }}
email_from: ${{ secrets.EMAIL_FROM }}
email_list: ${{ secrets.EMAIL_BCC_LIST }}
email_transport_smtp_user: ${{ secrets.EMAIL_TRANSPORT_SMTP_USER }}
email_transport_smtp_password: ${{ secrets.EMAIL_TRANSPORT_SMTP_PASSWORD }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release (dry-run)
Expand Down
6 changes: 4 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getInput, setFailed } from '@actions/core'
import { context } from '@actions/github'
// import { context } from '@actions/github'

import {
sendAlertsToMicrosoftTeams,
Expand Down Expand Up @@ -52,7 +52,9 @@ async function run(): Promise<void> {
count,
)
} else {
const { owner, repo } = context.repo
// const { owner, repo } = context.repo
const owner = 'kunalnagar'
const repo = 'cve-base'
alerts = await fetchRepositoryAlerts(
token,
repo,
Expand Down

0 comments on commit d063196

Please sign in to comment.