-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to automatically create swift pm dependency update prs
- Loading branch information
1 parent
b0897d5
commit cd8f0d6
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Xcode Dependencies | ||
|
||
on: | ||
schedule: | ||
- cron: '17 13 * * *' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
dependencies: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Resolve Dependencies | ||
id: resolution | ||
uses: GetSidetrack/action-xcodeproj-spm-update@main | ||
with: | ||
forceResolution: true | ||
failWhenOutdated: false | ||
directory: 'Monal' | ||
workspace: 'Monal/Monal.xcworkspace' | ||
scheme: 'Monal Alpha' | ||
|
||
- name: Create Pull Request | ||
if: steps.resolution.outputs.dependenciesChanged == 'true' | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
branch: 'dependencies/ios' | ||
delete-branch: true | ||
commit-message: 'Update Xcode Dependencies' | ||
title: 'Updated Xcode Dependencies' |