mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-17 21:12:16 +01:00
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.11 to 8.0.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](22a9089034...98357b18bf)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-version: 8.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
72 lines
2.4 KiB
YAML
72 lines
2.4 KiB
YAML
# SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
name: Update Psalm baseline
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "5 2 * * *"
|
|
|
|
jobs:
|
|
update-psalm-baseline:
|
|
runs-on: ubuntu-latest
|
|
|
|
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
branches: ['main', 'stable32', 'stable31', 'stable30']
|
|
|
|
name: update-psalm-baseline-${{ matrix.branches }}
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
persist-credentials: false
|
|
ref: ${{ matrix.branches }}
|
|
submodules: true
|
|
|
|
- name: Get php version
|
|
id: versions
|
|
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
|
|
|
|
- name: Set up php${{ steps.versions.outputs.php-available }}
|
|
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
|
|
with:
|
|
php-version: ${{ steps.versions.outputs.php-available }}
|
|
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
|
|
ini-file: development
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Install dependencies
|
|
run: composer i
|
|
|
|
- name: Psalm
|
|
run: composer run psalm:update-baseline -- --monochrome --no-progress --output-format=text
|
|
continue-on-error: true
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
|
|
with:
|
|
token: ${{ secrets.COMMAND_BOT_PAT }}
|
|
commit-message: Update psalm baseline
|
|
committer: GitHub <noreply@github.com>
|
|
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
signoff: true
|
|
branch: automated/noid/${{ matrix.branches }}-update-psalm-baseline
|
|
title: "[${{ matrix.branches }}] Update psalm-baseline.xml"
|
|
body: |
|
|
Auto-generated update psalm-baseline.xml with fixed psalm warnings
|
|
labels: |
|
|
automated pr
|
|
3. to review
|
|
team-reviewers: server-backend
|