-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into remove-validatingstorageadapter
- Loading branch information
Showing
23 changed files
with
1,720 additions
and
1,128 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 |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
/var/ | ||
/vendor/ | ||
!.gitkeep | ||
/.phpunit.result.cache |
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,30 @@ | ||
name: Create PR to update api-sdk dependency to latest | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 4 * * 1' | ||
|
||
jobs: | ||
update-api-dummy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Check for api-sdk updates | ||
run: | | ||
docker compose run --no-deps setup composer install | ||
docker compose run --no-deps setup composer update 'elife/api', 'elife/api-client' 'elife/api-sdk' --with-dependencies --no-suggest --no-interaction | ||
- id: get-api-sdk-version | ||
run: echo api-sdk-version=$(jq -r '.packages[]|select(.name == "elife/api-sdk").source.reference' < composer.lock) >> $GITHUB_OUTPUT | ||
|
||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
add-paths: composer.lock | ||
commit-message: Update api-sdk to ${{ steps.get-api-sdk-version.outputs.api-sdk-version }} | ||
branch: update-api-sdk | ||
title: Update api-sdk to ${{ steps.get-api-sdk-version.outputs.api-sdk-version }} | ||
body: | | ||
Update the api-sdk dependency to the ${{ steps.get-api-sdk-version.outputs.api-sdk-version }} |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
/var/ | ||
/vendor/ | ||
!.gitkeep | ||
/.phpunit.result.cache |
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
Oops, something went wrong.