Skip to content

Essential 8 Docuement page #620

Essential 8 Docuement page

Essential 8 Docuement page #620

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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout docs
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.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