Check for new PDFium releases #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for new PDFium releases | |
on: | |
workflow_dispatch: | |
schedule: | |
# This will run at 10:00 every Saturday | |
- cron: '0 10 * * 6' | |
jobs: | |
check-for-updates: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: npm clean-install | |
- name: Check for updates and create PR | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: node ./scripts/check-updates.mjs |