Skip to content

Merge branch 'main' into main #21

Merge branch 'main' into main

Merge branch 'main' into main #21

Workflow file for this run

name: Send advisory
on:
push:
branches: [main]
workflow_dispatch:
inputs:
advisory_url:
type: string
env: # sendgrid api token
sendgrid_api: ${{ secrets.SENDGRID_API }}
jobs:
send-modified-files:
name: Send advisory files added today, or send advisory from input url
runs-on: ubuntu-latest
steps:
- name: Checkout docs
uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip' # caching pip dependencies
- name: install mkdocs
run: pip install -r requirements.txt
- name: Send advisories
run: ./.github/scripts/send-advisory.py "${{ inputs.advisory_url }}"