Xcode Dependencies #40
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: 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.GITHUB_TOKEN }} | |
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 |