-
-
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 2775e2b
Showing
1 changed file
with
43 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,43 @@ | ||
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: monal-im/action-xcodeproj-spm-update@main | ||
with: | ||
forceResolution: true | ||
failWhenOutdated: false | ||
directory: Monal | ||
workspace: Monal.xcworkspace | ||
scheme: Monal Alpha | ||
|
||
- name: Create Pull Request | ||
if: steps.resolution.outputs.dependenciesChanged == 'true' | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
commit-message: Update Xcode Dependencies | ||
title: Updated Xcode Dependencies | ||
body: | | ||
- Dependency updates | ||
Auto-generated by [create-pull-request][1] | ||
|
||
[1]: https://github.com/peter-evans/create-pull-request | ||
branch: update-dependencies | ||
delete-branch: true |