Skip to content

Commit

Permalink
change to once a week as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Feb 1, 2024
1 parent c8f55bb commit aa5c17a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/notifier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Packages Update Check

on:
schedule:
# Run at UTC 00:00 on Monday
- cron: '0 0 * * 1'

jobs:
check-PyPI:
name: Check for package updates on PyPI and create issue
runs-on: ubuntu-latest
permissions:
issues: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.10

- name: Update pip, install wheel and nox
run: python -m pip install -U pip wheel nox PyGithub
shell: bash

- name: Run Checker
run: python ./.github/workflows/pypi_notifier.py
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}




0 comments on commit aa5c17a

Please sign in to comment.