Last active
October 11, 2020 04:30
-
-
Save MarcoEidinger/920f4debec7f7b91b8bfe45f5a437511 to your computer and use it in GitHub Desktop.
Workflow to periodically check for outdated Swift Package dependencies and then create a pull request to update them
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 Package Dependencies | |
on: | |
schedule: | |
- cron: '0 8 * * 1' # every monday AM 8:00 | |
jobs: | |
spm-dep-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check Swift package dependencies | |
uses: MarcoEidinger/swift-package-dependencies-check@1.0.0 | |
with: | |
isMutating: true | |
- name: Create Pull Request | |
if: failure() | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: 'chore: update package dependencies' | |
branch: updatePackageDepedencies | |
delete-branch: true | |
title: 'chore: update package dependencies' | |
body: '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment