certificate undeliverable report migrated #9
Workflow file for this run
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: Certificate Expiry Undeliverable Report Test Run | |
on: | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
inputs: | |
email: | |
description: What is the email address of the recipient? | |
jobs: | |
certificate-expiry-check: | |
name: Run certificate expiry undeliverable report script | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Python Setup | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: '3.11' | |
- name: Install Python Packages from Requirements File | |
run: | | |
pip install pipenv | |
pipenv install | |
- name: Execute certificate expiry undeliverable report run | |
run: pipenv run python3 -m bin.report_certificate_expiry_undeliverable --test agnieszka.bachleda@digital.justice.gov.uk | |
env: | |
NOTIFY_PROD_API_KEY: ${{ secrets.NOTIFY_PROD_API_KEY }} | |