Merge pull request #351 from EhPanda-Team/update-dependencies #38
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: '0 0 * * 1' | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
dependencies: | |
runs-on: macos-13 | |
if: ${{ contains(github.event.head_commit.message, '[update dependencies]') || github.event_name == 'schedule' }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: develop | |
- name: Resolve Dependencies | |
id: resolution | |
uses: GetSidetrack/[email protected] | |
with: | |
forceResolution: true | |
failWhenOutdated: false | |
- name: Create Pull Request | |
if: steps.resolution.outputs.dependenciesChanged == 'true' | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
branch: 'update-dependencies' | |
delete-branch: true | |
commit-message: 'Update dependencies [skip test]' | |
title: 'Updated Dependencies' |