Skip to content

Run Markdead

Run Markdead #1659

Workflow file for this run

name: Run Markdead
on:
push:
schedule:
- cron: '0 */6 * * *'
jobs:
trolling:
name: Run Markdead
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install requests
run: python -m pip install requests
- name: Check for dead Google Forms
run: cd $GITHUB_WORKSPACE && python markdead.py -a
- name: Push results
run: cd $GITHUB_WORKSPACE && git config user.name "Dead Google Forms Remover" && git config user.email "[email protected]" && git add data.csv && git commit -m "Remove dead Google Forms" && git remote set-url origin "https://__token__:${{ secrets.GITHUB_TOKEN }}@github.com/thefightagainstmalware/CatPhish" && git push -u origin main || exit 0