Bump github/codeql-action from 3.27.0 to 3.27.1 (#1085) #590
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |