Run script to regenerate python dependencies #54
This file contains hidden or 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: Run script to regenerate python dependencies | |
| on: | |
| schedule: | |
| - cron: "36 16 22 * *" # “At 16:36 on day-of-month 22.” | |
| workflow_dispatch: # Manual trigger | |
| jobs: | |
| Run-generate-pikepdf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| persist-credentials: false # for create-or-update-pull-request-action | |
| - name: Install dependencies | |
| run: pip3 install requirements-parser | |
| - name: Run update-python-modules.sh | |
| run: ./generate-pikepdf | |
| - name: Create or Update Pull Request | |
| uses: gr2m/create-or-update-pull-request-action@77596e3166f328b24613f7082ab30bf2d93079d5 | |
| # hash of v1.9.2 + build commit in the v1.x branch | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| title: Update pikepdf Python dependencies | |
| body: Automatic PR by GHA | |
| commit-message: Regenerate pikepdf Python dependencies | |
| assignees: dreua |