-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update links after transfer, add required CI --------- Signed-off-by: Andrey Borysenko <[email protected]> Signed-off-by: nextcloud-command <[email protected]> Co-authored-by: nextcloud-command <[email protected]>
- Loading branch information
1 parent
0748192
commit 5dd6ef0
Showing
12 changed files
with
110 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# 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 | ||
# | ||
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
name: Block merges for EOL | ||
|
||
on: pull_request | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: block-merge-eol-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
block-merges-eol: | ||
name: Block merges for EOL branches | ||
|
||
# Only run on stableXX branches | ||
if: startsWith( github.base_ref, 'stable') | ||
runs-on: ubuntu-latest-low | ||
|
||
steps: | ||
- name: Set server major version environment | ||
run: | | ||
# retrieve version number from branch reference | ||
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p') | ||
echo "server_major=$server_major" >> $GITHUB_ENV | ||
echo "current_month=$(date +%Y-%m)" >> $GITHUB_ENV | ||
- name: Checking if ${{ env.server_major }} is EOL | ||
run: | | ||
curl -s https://raw.githubusercontent.com/nextcloud-releases/updater_server/production/config/major_versions.json \ | ||
| jq '.["${{ env.server_major }}"]["eol"] // "9999-99" | . >= "${{ env.current_month }}"' \ | ||
| grep -q 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# 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 | ||
# | ||
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
name: Block merges during freezes | ||
|
||
on: | ||
pull_request: | ||
types: [opened, ready_for_review, reopened, synchronize] | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: block-merge-freeze-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
block-merges-during-freeze: | ||
name: Block merges during freezes | ||
|
||
if: github.event.pull_request.draft == false | ||
|
||
runs-on: ubuntu-latest-low | ||
|
||
steps: | ||
- name: Register server reference to fallback to master branch | ||
run: | | ||
server_ref="$(if [ '${{ github.base_ref }}' = 'main' ]; then echo -n 'master'; else echo -n '${{ github.base_ref }}'; fi)" | ||
echo "server_ref=$server_ref" >> $GITHUB_ENV | ||
- name: Download version.php from ${{ env.server_ref }} | ||
run: curl 'https://raw.githubusercontent.com/nextcloud/server/${{ env.server_ref }}/version.php' --output version.php | ||
|
||
- name: Run check | ||
run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC' | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
js/app_api-vendors-node_modules_nextcloud_dialogs_dist_chunks_FilePicker-CDU2njOJ_mjs.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
js/app_api-vendors-node_modules_nextcloud_dialogs_dist_chunks_FilePicker-CDU2njOJ_mjs.js.map
Large diffs are not rendered by default.
Oops, something went wrong.