Skip to content

Commit

Permalink
Migrate to nextcloud/OCP package in stable25
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Oct 2, 2022
1 parent 33d61d3 commit a90e551
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Update christophwurst/nextcloud
name: Update nextcloud/ocp

on:
workflow_dispatch:
schedule:
- cron: "5 4 * * 0"
- cron: "5 2 * * 0"

jobs:
update-christophwurst-nextcloud:
update-nextcloud-ocp:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
branches: ["master", "stable25", "stable24", "stable23"]

name: update-christophwurst-nextcloud-${{ matrix.branches }}
name: update-nextcloud-ocp-${{ matrix.branches }}

steps:
- uses: actions/checkout@v3
Expand All @@ -37,8 +37,8 @@ jobs:
- name: Composer install
run: composer install

- name: Composer update christophwurst/nextcloud
run: composer require --dev christophwurst/nextcloud:dev-${{ matrix.branches }}
- name: Composer update nextcloud/ocp
run: composer require --dev nextcloud/ocp:dev-${{ matrix.branches }}
continue-on-error: true

- name: Reset checkout dirs
Expand All @@ -56,10 +56,10 @@ jobs:
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-update-christophwurst-nextcloud
title: "[${{ matrix.branches }}] Update christophwurst/nextcloud dependency"
branch: automated/noid/${{ matrix.branches }}-update-nextcloud-ocp
title: "[${{ matrix.branches }}] Update nextcloud/ocp dependency"
body: |
Auto-generated update of [christophwurst/nextcloud](https://github.com/ChristophWurst/nextcloud_composer/) dependency
Auto-generated update of [nextcloud/ocp](https://github.com/nextcloud-deps/ocp/) dependency
labels: |
dependencies
3. to review
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"require-dev": {
"phpunit/phpunit": "^9.5",
"nextcloud/coding-standard": "^1.0.0",
"christophwurst/nextcloud": "dev-stable25"
"nextcloud/ocp": "dev-stable25"
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP"
}
}
}
90 changes: 44 additions & 46 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a90e551

Please sign in to comment.