diff --git a/.github/workflows/survival.yml b/.github/workflows/survival.yml new file mode 100644 index 0000000..d40fb32 --- /dev/null +++ b/.github/workflows/survival.yml @@ -0,0 +1,22 @@ +name: Survival + +on: + schedule: + - cron: "0 6 * * 1" + workflow_dispatch: + +jobs: + survival: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Install dependencies + run: pip install -r requirements.txt + - name: Run survival job + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: python -m hackproof survival \ No newline at end of file