Update cpanfile.snapshot #292
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: Update cpanfile.snapshot | |
| on: | |
| schedule: | |
| - cron: '1 15 * * 0' | |
| workflow_dispatch: | |
| jobs: | |
| update-dep: | |
| runs-on: 'ubuntu-24.04' | |
| steps: | |
| - name: libcmark-dev | |
| run: sudo apt-get install -y -f --no-install-recommends libcmark-dev | |
| - name: Generate Auth Token | |
| uses: actions/create-github-app-token@v2 | |
| id: app-token | |
| with: | |
| app-id: ${{ secrets.APP_ID }} | |
| private-key: ${{ secrets.APP_PRIVATE_KEY }} | |
| - uses: haarg/setup-git-user@v1 | |
| with: | |
| app: ${{ steps.app-token.outputs.app-slug }} | |
| - uses: actions/checkout@v5 | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| - uses: metacpan/metacpan-actions/update-snapshot@master | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| commit-message: Update cpanfile.snapshot | |
| title: Update cpanfile.snapshot | |
| sign-commits: true | |
| body: | | |
| [GitHub Action Run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) | |
| branch: update-cpanfile-snapshot |