Skip to content

Commit

Permalink
Try to automatically create swift pm dependency update prs
Browse files Browse the repository at this point in the history
  • Loading branch information
tmolitor-stud-tu committed Oct 16, 2024
1 parent b0897d5 commit cd8f0d6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/xcode-swift-dependencies.yaml
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'

0 comments on commit cd8f0d6

Please sign in to comment.