-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove duplicated OCP dependency (nextcloud/ocp vs christophwu…
…rst/nextcloud) Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
- Loading branch information
1 parent
95bc640
commit 8aafa86
Showing
4 changed files
with
86 additions
and
115 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,83 @@ | ||
# This workflow is provided via the organization template repository | ||
# | ||
# https://github.com/nextcloud/.github | ||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization | ||
|
||
name: Update nextcloud/ocp | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "5 2 * * 0" | ||
|
||
jobs: | ||
update-nextcloud-ocp: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
branches: ["main", "master", "stable27", "stable26", "stable25"] | ||
|
||
name: update-nextcloud-ocp-${{ matrix.branches }} | ||
|
||
steps: | ||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
with: | ||
ref: ${{ matrix.branches }} | ||
submodules: true | ||
|
||
- name: Set up php8.1 | ||
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2 | ||
with: | ||
php-version: 8.1 | ||
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation | ||
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite | ||
coverage: none | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Composer install | ||
run: composer install | ||
|
||
- name: Composer update nextcloud/ocp | ||
if: matrix.branches != 'main' | ||
run: composer require --dev nextcloud/ocp:dev-${{ matrix.branches }} | ||
|
||
- name: Composer update nextcloud/ocp | ||
if: matrix.branches == 'main' | ||
run: composer require --dev nextcloud/ocp:dev-master | ||
|
||
- name: Reset checkout 3rdparty | ||
run: | | ||
git clean -f 3rdparty | ||
git checkout 3rdparty | ||
continue-on-error: true | ||
|
||
- name: Reset checkout vendor | ||
run: | | ||
git clean -f vendor | ||
git checkout vendor | ||
continue-on-error: true | ||
|
||
- name: Reset checkout vendor-bin | ||
run: | | ||
git clean -f vendor-bin | ||
git checkout vendor-bin | ||
continue-on-error: true | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v3 | ||
with: | ||
token: ${{ secrets.COMMAND_BOT_PAT }} | ||
commit-message: "chore(dev-deps): Bump nextcloud/ocp package" | ||
committer: GitHub <noreply@github.com> | ||
author: nextcloud-command <nextcloud-command@users.noreply.github.com> | ||
signoff: true | ||
branch: automated/noid/${{ matrix.branches }}-update-nextcloud-ocp | ||
title: "[${{ matrix.branches }}] Update nextcloud/ocp dependency" | ||
body: | | ||
Auto-generated update of [nextcloud/ocp](https://github.com/nextcloud-deps/ocp/) dependency | ||
labels: | | ||
dependencies | ||
3. to review |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.