Skip to content

Check for Newer Packages #38

Check for Newer Packages

Check for Newer Packages #38

name: Check for Newer Packages
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight
workflow_dispatch:
jobs:
check-packages:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install requests packaging beautifulsoup4 PyGithub
- name: Check for newer packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
run: |
python build/elevate_packages_check.py --github-token $GITHUB_TOKEN --github-repository $GITHUB_REPOSITORY