-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #438 from nextcloud/backport/391/stable27
[stable27] Allow force unlock of automated client locks
- Loading branch information
Showing
11 changed files
with
201 additions
and
124 deletions.
There are no files selected for viewing
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
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
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
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 |
---|---|---|
|
@@ -3,6 +3,13 @@ | |
# https://github.com/nextcloud/.github | ||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization | ||
|
||
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors | ||
# SPDX-FileCopyrightText: 2023 Marcel Klehr <[email protected]> | ||
# SPDX-FileCopyrightText: 2023 Joas Schilling <[email protected]> | ||
# SPDX-FileCopyrightText: 2023 Daniel Kesselberg <[email protected]> | ||
# SPDX-FileCopyrightText: 2023 Florian Steffens <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
|
||
name: 'Ask for feedback on PRs' | ||
on: | ||
schedule: | ||
|
@@ -17,18 +24,27 @@ jobs: | |
id: scrape | ||
with: | ||
website: 'https://nextcloud.com/team/' | ||
- uses: marcelklehr/pr-feedback-action@601109aa729eb4c8d6d0ece7567b9d4901db4aef | ||
|
||
- name: Get blocklist | ||
id: blocklist | ||
run: | | ||
blocklist=$(curl https://raw.githubusercontent.com/nextcloud/.github/master/non-community-usernames.txt | paste -s -d, -) | ||
echo "blocklist=$blocklist" >> "$GITHUB_OUTPUT" | ||
- uses: marcelklehr/pr-feedback-action@1883b38a033fb16f576875e0cf45f98b857655c4 | ||
with: | ||
feedback-message: | | ||
Hello there, | ||
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project. | ||
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project. | ||
We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. | ||
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 | ||
Thank you for contributing to Nextcloud and we hope to hear from you soon! | ||
(If you believe you should not receive this message, you can add yourself to the [blocklist](https://github.com/nextcloud/.github/blob/master/non-community-usernames.txt).) | ||
days-before-feedback: 14 | ||
start-date: "2023-07-10" | ||
exempt-authors: "${{ steps.scrape.outputs.users }},nextcloud-command,nextcloud-android-bot,skjnldsv" | ||
start-date: '2024-04-30' | ||
exempt-authors: '${{ steps.blocklist.outputs.blocklist }},${{ steps.scrape.outputs.users }}' | ||
exempt-bots: true |
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 |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
# | ||
# https://github.com/nextcloud/.github | ||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization | ||
# | ||
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
name: Update nextcloud/ocp | ||
|
||
|
@@ -17,23 +20,23 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
branches: ["main", "master", "stable27", "stable26", "stable25"] | ||
branches: ['main', 'master', 'stable29', 'stable28', 'stable27'] | ||
|
||
name: update-nextcloud-ocp-${{ matrix.branches }} | ||
|
||
steps: | ||
- id: checkout | ||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
ref: ${{ matrix.branches }} | ||
submodules: true | ||
continue-on-error: true | ||
|
||
- name: Set up php8.1 | ||
- name: Set up php8.2 | ||
if: steps.checkout.outcome == 'success' | ||
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2 | ||
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1 | ||
with: | ||
php-version: 8.1 | ||
php-version: 8.2 | ||
# 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 | ||
|
@@ -54,28 +57,28 @@ jobs: | |
- name: Composer update nextcloud/ocp | ||
id: update_branch | ||
if: ${{ steps.checkout.outcome == 'success' && matrix.branches != 'main' }} | ||
run: composer require --dev nextcloud/ocp:dev-${{ matrix.branches }} | ||
run: composer require --dev 'nextcloud/ocp:dev-${{ matrix.branches }}' | ||
|
||
- name: Raise on issue on failure | ||
uses: dacbd/create-issue-action@ba4d1c45cccf9c483f2720cefb40e437f0ee6f7d # v1.2.1 | ||
uses: dacbd/create-issue-action@cdb57ab6ff8862aa09fee2be6ba77a59581921c2 # v2.0.0 | ||
if: ${{ steps.checkout.outcome == 'success' && failure() && steps.update_branch.conclusion == 'failure' }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
title: Failed to update nextcloud/ocp package on branch ${{ matrix.branches }} | ||
body: Please check the output of the GitHub action and manually resolve the issues<br>${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}<br>${{ steps.codeowners.outputs.codeowners }} | ||
title: 'Failed to update nextcloud/ocp package on branch ${{ matrix.branches }}' | ||
body: 'Please check the output of the GitHub action and manually resolve the issues<br>${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}<br>${{ steps.codeowners.outputs.codeowners }}' | ||
|
||
- name: Composer update nextcloud/ocp | ||
id: update_main | ||
if: ${{ steps.checkout.outcome == 'success' && matrix.branches == 'main' }} | ||
run: composer require --dev nextcloud/ocp:dev-master | ||
|
||
- name: Raise on issue on failure | ||
uses: dacbd/create-issue-action@ba4d1c45cccf9c483f2720cefb40e437f0ee6f7d # v1.2.1 | ||
uses: dacbd/create-issue-action@cdb57ab6ff8862aa09fee2be6ba77a59581921c2 # v2.0.0 | ||
if: ${{ steps.checkout.outcome == 'success' && failure() && steps.update_main.conclusion == 'failure' }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
title: Failed to update nextcloud/ocp package on branch ${{ matrix.branches }} | ||
body: Please check the output of the GitHub action and manually resolve the issues<br>${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}<br>${{ steps.codeowners.outputs.codeowners }} | ||
title: 'Failed to update nextcloud/ocp package on branch ${{ matrix.branches }}' | ||
body: 'Please check the output of the GitHub action and manually resolve the issues<br>${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}<br>${{ steps.codeowners.outputs.codeowners }}' | ||
|
||
- name: Reset checkout 3rdparty | ||
if: steps.checkout.outcome == 'success' | ||
|
@@ -100,15 +103,15 @@ jobs: | |
|
||
- name: Create Pull Request | ||
if: steps.checkout.outcome == 'success' | ||
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v3 | ||
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0 | ||
with: | ||
token: ${{ secrets.COMMAND_BOT_PAT }} | ||
commit-message: "chore(dev-deps): Bump nextcloud/ocp package" | ||
commit-message: 'chore(dev-deps): Bump nextcloud/ocp package' | ||
committer: GitHub <[email protected]> | ||
author: nextcloud-command <[email protected]> | ||
signoff: true | ||
branch: automated/noid/${{ matrix.branches }}-update-nextcloud-ocp | ||
title: "[${{ matrix.branches }}] Update nextcloud/ocp dependency" | ||
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: | | ||
|
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
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
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
Oops, something went wrong.