Skip to content

Daily Cyber-Sec News #83

Daily Cyber-Sec News

Daily Cyber-Sec News #83

Workflow file for this run

name: Daily Cyber-Sec News
on:
workflow_dispatch: # Manual trigger for testing
schedule:
- cron: '0 13 * * *' # 08:00 EST (13:00 UTC) Every day
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: "${{ secrets.GH_PAT }}" # GH_PAT must be set as a repository secret in GitHub Settings > Secrets and variables > Actions. If you see context access errors, verify the secret name and permissions.
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Run news fetch script
run: |
chmod +x scripts/fetch-news.sh
./scripts/fetch-news.sh
- name: Validate CSV
run: python3 scripts/validate_csv.py