Swift outdated dependencies #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: Swift outdated dependencies | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 */100,1-7 * MON' # First Monday of the month | |
jobs: | |
spm-dep-check: | |
runs-on: [ubuntu-latest] | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check Swift package dependencies | |
id: spm-dep-check | |
uses: MarcoEidinger/[email protected] | |
with: | |
isMutating: true | |
failWhenOutdated: false | |
- name: Create Pull Request | |
if: steps.spm-dep-check.outputs.outdatedDependencies == 'true' | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: 'chore: update package dependencies' | |
branch: updatePackageDepedencies | |
delete-branch: true | |
title: 'chore: update package dependencies' | |
body: ${{ steps.spm-dep-check.outputs.releaseNotes }} |