Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.14.0 to 5.0.1. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v3.14.0...284f54f989303d2699d373481a0cfa13ad5a6666) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
69 lines
2.2 KiB
YAML
69 lines
2.2 KiB
YAML
# 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: ["master", "stable26", "stable25", "stable24"]
|
|
|
|
name: update-nextcloud-ocp-${{ matrix.branches }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
|
with:
|
|
ref: ${{ matrix.branches }}
|
|
submodules: true
|
|
|
|
- name: Set up php8.1
|
|
uses: shivammathur/setup-php@2.25.1 # v2
|
|
with:
|
|
php-version: 8.1
|
|
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
|
|
coverage: none
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Composer install
|
|
run: composer install
|
|
|
|
- name: Composer update nextcloud/ocp
|
|
run: composer require --dev nextcloud/ocp:dev-${{ matrix.branches }}
|
|
continue-on-error: true
|
|
|
|
- name: Reset checkout dirs
|
|
run: |
|
|
git clean -f 3rdparty
|
|
git clean -f vendor
|
|
git clean -f vendor-bin
|
|
git checkout 3rdparty vendor vendor-bin
|
|
continue-on-error: true
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 # 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
|