Skip to content

check communities

check communities #5

Workflow file for this run

name: check communities
on:
workflow_dispatch:
schedule:
- cron: '44 2 1 * *' # At 02:44 on the 1st
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.11' # install the python version needed
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install PyGithub pythorhead
- name: export directory
run: python ./scripts/directory_to_json.py
- name: check communities
run: python ./scripts/raise_github_issues.py --pass "${{ secrets.LEMMY_PASSWORD }}" --token "${{ secrets.ISSUE_TOKEN }}"