Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Create requirements.txt #2

Create requirements.txt

Create requirements.txt #2

name: Check Certificate Statuses
on:
schedule:
# Run daily at 00:00 UTC
- cron: '0 0 * * *'
# Also allow manual triggers
workflow_dispatch:
# Run on pushes to main branch (optional)
push:
branches: [ main ]
jobs:
check-certificates:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests beautifulsoup4 lxml
- name: Check certificate statuses
run: |
python scripts/check_certificates.py
- name: Commit changes if any
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git add README.md
if git diff --quiet HEAD -- README.md; then
echo "No changes to commit"
else
git commit -m "📝 Update certificate statuses [$(date +'%Y-%m-%d %H:%M')]"
git push
fi