Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](2b011faafd...38e0b6e68b)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...
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.24.0 # 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@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # 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
|