Skip to content

Merge branch 'wagov:main' into main #96

Merge branch 'wagov:main' into main

Merge branch 'wagov:main' into main #96

Workflow file for this run

name: Send advisory
on:
push:
branches: ['main']
env: # sendgrid api token
sendgrid_api: ${{ secrets.SENDGRID_API }}
permissions:
contents: read
jobs:
send-modified-files:
name: Send advisory files created in last hour
runs-on: ubuntu-latest
environment:
name: communication
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- name: Checkout docs
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 2
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: '3.11'
cache: 'pip' # caching pip dependencies
- name: install requirements
run: pip install -r requirements.txt
- name: Send advisories
run: ./.github/scripts/send-advisory.py --auto