Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
a0c3dd1
chore: refactor .htaccess
joshtrichards Aug 20, 2025
182836b
fix: drop unnecessary toggles in .htaccess
joshtrichards Aug 20, 2025
0ab5f17
build(deps-dev): bump symfony/event-dispatcher in /build/integration
dependabot[bot] Nov 8, 2025
ccc0c3c
fix(l10n): do not consider user language when getting the generic one
st3iny Oct 1, 2025
30d567f
fix(encryption): Increment lastChunkNr when size is off
artonge Oct 24, 2025
a60f949
fix(files_sharing): Allow deleting a share of a missing file
come-nc Nov 17, 2025
cc66d20
chore: Improve wording in debug log
come-nc Nov 18, 2025
ad5f23f
test: add test for theming config casting
icewind1991 Nov 24, 2025
561d3de
fix: fix theming config value casting
icewind1991 Nov 24, 2025
5498c1c
build(deps-dev): bump the vitest group across 1 directory with 2 updates
dependabot[bot] Nov 24, 2025
3c73af0
build(deps-dev): bump behat/behat in /build/integration
dependabot[bot] Nov 24, 2025
40246d9
fix(sharing): Add isTrustedServer flag to lookup results
nfebe Nov 17, 2025
75d04de
fix(l10n): Update translations from Transifex
nextcloud-bot Nov 25, 2025
29325b4
Merge pull request #56293 from nextcloud/dependabot/composer/build/in…
susnux Nov 25, 2025
80b04bd
Merge pull request #56501 from nextcloud/fix/lookup-trusted-server-fi…
nfebe Nov 25, 2025
0b30415
Merge pull request #55981 from nextcloud/artonge/fix/encryption/incre…
artonge Nov 25, 2025
3f083bb
Merge pull request #56632 from nextcloud/dependabot/npm_and_yarn/buil…
susnux Nov 25, 2025
14eb82f
build(deps-dev): bump vite
dependabot[bot] Nov 25, 2025
a7dd4e8
Merge pull request #56498 from nextcloud/fix/fix-deleting-broken-shares
sorbaugh Nov 25, 2025
66361fe
ci: update workflows from organization
susnux Nov 24, 2025
0e60c0a
chore: ignore SPDX-header-like lines in the license plugin
susnux Nov 24, 2025
930ec23
test: fix setup with coverage
susnux Nov 25, 2025
4f25051
Merge pull request #56631 from nextcloud/dependabot/npm_and_yarn/buil…
AndyScherzinger Nov 25, 2025
c4da3cc
Merge pull request #56625 from nextcloud/chore/workflows
susnux Nov 25, 2025
4f9efc4
chore(user_ldap): Delete legacy templates
artonge Nov 21, 2025
1e17a9f
refactor(user_ldap): Migrate to Vue3
artonge Nov 25, 2025
d89b5e2
fix(user_ldap): Use v-model for settings inputs
artonge Nov 21, 2025
85721ee
fix(user_ldap): Correct label and placeholder usage
artonge Nov 21, 2025
3d847cd
fix(user_ldap): Improve typing
artonge Nov 21, 2025
d4d6df5
chore(assets): Recompile assets
nextcloud-command Nov 25, 2025
9f78ccb
feat(testing): add core:text2text:chat fake provider in the testing app
julien-nc Nov 24, 2025
7a94858
build(deps): bump the github-actions group across 1 directory with 10…
dependabot[bot] Nov 25, 2025
345140a
fix: imip set language per user
SebastianKrupinski Oct 1, 2025
e0cadec
Merge pull request #56618 from nextcloud/enh/noid/testing-chat-provider
AndyScherzinger Nov 25, 2025
7435125
Merge pull request #56570 from nextcloud/artonge/debt/migrate_user_ld…
susnux Nov 25, 2025
045dc79
Merge pull request #56626 from nextcloud/fix/fix/theming-legacy-app-c…
icewind1991 Nov 25, 2025
b17c207
fix: checkbox for example content
kesselb Nov 20, 2025
5bcbdda
chore(assets): Recompile assets
kesselb Nov 25, 2025
5806dfb
Merge pull request #55473 from nextcloud/fix/imip-set-language-by-user
SebastianKrupinski Nov 25, 2025
63b401d
chore(dev-deps): update `@nextcloud/eslint-config` to v9.0.0-rc.6
susnux Nov 25, 2025
42112c8
chore: auto fix ESLint issues
susnux Nov 25, 2025
9d25d20
chore: baseline what is not auto-fixable in legacy UI
susnux Nov 25, 2025
f1d2833
chore: manually adjust event names (`update:checked` to `update:model…
susnux Nov 25, 2025
93dadb3
chore(assets): Recompile assets
nextcloud-command Nov 25, 2025
fac380f
Merge pull request #55476 from nextcloud/fix/l10n/generic-language-no…
SebastianKrupinski Nov 25, 2025
a422c33
build(deps): bump @nextcloud/event-bus in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
60adc36
build(deps-dev): bump @nextcloud/typings in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
943f19c
build(deps-dev): bump webpack in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
3f5d5fb
build(deps): bump p-queue from 9.0.0 to 9.0.1 in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
0474011
build(deps): bump @nextcloud/paths in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
f960afc
Merge pull request #56562 from nextcloud/bug/noid/checked-state-for-e…
kesselb Nov 25, 2025
b344b53
fix(collaboration): Replace NonExisting* check on `NodeDeletedEvent` …
artonge Nov 5, 2025
73c6b17
fix(View): Normalize path in `getAbsolutePath`
artonge Nov 6, 2025
8b293d1
Merge pull request #56660 from nextcloud/chore/eslint-config
susnux Nov 25, 2025
499bbd4
fix(user_ldap): Re-introduce easy login attributes checkboxes
artonge Nov 21, 2025
ea4e5ae
fix(user_ldap): Use correct property to update login filter
artonge Nov 21, 2025
6a1712d
chore(assets): Recompile assets
nextcloud-command Nov 25, 2025
2f65d18
Merge pull request #56689 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
ccc0e9f
Merge pull request #56684 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
02925a6
build(deps): bump @nextcloud/router in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
673815b
Merge pull request #56574 from nextcloud/artonge/fix/readd_attributes…
artonge Nov 25, 2025
b39fb71
Merge pull request #56679 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
d1dfb83
Merge pull request #56678 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
6c3b698
Merge pull request #56223 from nextcloud/artonge/fix/remove_unecessar…
artonge Nov 25, 2025
4f6360e
Merge pull request #56675 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
7f78a8e
Merge pull request #56680 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
5651f6e
build(deps-dev): bump sass in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
4205247
Merge pull request #56635 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
3258a91
build(deps): bump core-js in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
9043683
ci: fix changes detection for legacy frontend
susnux Nov 25, 2025
797ee31
chore(assets): Recompile assets
nextcloud-command Nov 25, 2025
5c5ef65
build(deps-dev): remove unneeded `@types/dockerode` and `@types/wait-on`
dependabot[bot] Nov 25, 2025
949cf19
build(deps): bump marked from 17.0.0 to 17.0.1 in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
0f759d4
Merge pull request #56677 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
2af533e
Merge pull request #56636 from nextcloud/dependabot/composer/build/in…
dependabot[bot] Nov 25, 2025
19cff44
build(deps-dev): bump the vitest group across 2 directories with 2 up…
dependabot[bot] Nov 25, 2025
e0a9fdc
build(deps-dev): bump msw in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
550e54e
build(deps-dev): bump @nextcloud/webpack-vue-config
dependabot[bot] Nov 25, 2025
f9788c9
Merge pull request #56687 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
e961352
build(deps): bump camelcase in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
9cd49cb
Merge pull request #56695 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
e4f3dca
Merge pull request #56659 from nextcloud/dependabot/github_actions/gi…
AndyScherzinger Nov 25, 2025
8679fd1
Merge pull request #56673 from nextcloud/dependabot/npm_and_yarn/vite…
AndyScherzinger Nov 25, 2025
7225c09
chore(assets): Recompile assets
nextcloud-command Nov 25, 2025
1fd57d0
Merge pull request #56674 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 25, 2025
87b3cbd
fix(l10n): Update translations from Transifex
nextcloud-bot Nov 26, 2025
1c116c3
Merge pull request #56698 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 26, 2025
a9e3734
build(deps): bump vue from 3.5.24 to 3.5.25
dependabot[bot] Nov 25, 2025
da56265
chore(assets): Recompile assets
nextcloud-command Nov 25, 2025
748e92e
Merge pull request #56697 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 26, 2025
0c14a54
Merge pull request #56634 from nextcloud/dependabot/npm_and_yarn/vue-…
github-actions[bot] Nov 26, 2025
c3ec3aa
build(deps): bump debounce from 2.2.0 to 3.0.0 in /build/frontend-legacy
dependabot[bot] Nov 25, 2025
776c960
refactor: adjust code for `debounce` v3
susnux Nov 25, 2025
f473658
chore(assets): Recompile assets
nextcloud-command Nov 26, 2025
c2e7b34
Merge pull request #56696 from nextcloud/dependabot/npm_and_yarn/buil…
github-actions[bot] Nov 26, 2025
8bd328e
build(deps-dev): bump workbox-webpack-plugin in /build/frontend-legacy
dependabot[bot] Nov 26, 2025
9cc0af1
chore(assets): Recompile assets
nextcloud-command Nov 26, 2025
3e1ce96
Merge pull request #56701 from nextcloud/dependabot/npm_and_yarn/buil…
AndyScherzinger Nov 26, 2025
30ad57b
Merge branch 'master' into jtr-refactor-main-htaccess
skjnldsv Nov 26, 2025
8cb14b4
chore: remove `@nextcloud/calendar-availability-vue` from legacy
susnux Nov 25, 2025
68a9903
Merge pull request #54550 from nextcloud/jtr-refactor-main-htaccess
skjnldsv Nov 26, 2025
7615e75
chore(deps): remove unused dependencies
susnux Nov 25, 2025
6719f5a
Merge pull request #56693 from nextcloud/chore/remove-useless-depende…
susnux Nov 26, 2025
48b5c84
fix(user_status): adjust online status string
Antreesy Nov 26, 2025
b3532f0
Merge pull request #56705 from nextcloud/chore/cleanup-deps
susnux Nov 26, 2025
4dd34bd
chore(assets): Recompile assets
nextcloud-command Nov 26, 2025
9baac21
build(deps): add missing dependencies
susnux Nov 25, 2025
a2a4137
chore: compile assets
susnux Nov 26, 2025
b279924
Merge pull request #56704 from nextcloud/chore/deps-missing
susnux Nov 26, 2025
f4753cc
Merge pull request #56711 from nextcloud/fix/noid/user-status-busy
kesselb Nov 26, 2025
d6116fc
fix(admin-delegation): Prevent delegation to group if delegation alre…
printminion-co Oct 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/autocheckers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ jobs:

steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
submodules: true

- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
Expand All @@ -81,13 +81,13 @@ jobs:

steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
submodules: true

- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/block-merge-eol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Set server major version environment
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -37,13 +37,13 @@ jobs:
if (match) {
console.log('Setting server_major to ' + match[1]);
core.exportVariable('server_major', match[1]);
console.log('Setting current_month to ' + (new Date()).toISOString().substr(0, 7));
core.exportVariable('current_month', (new Date()).toISOString().substr(0, 7));
console.log('Setting current_day to ' + (new Date()).toISOString().substr(0, 10));
core.exportVariable('current_day', (new Date()).toISOString().substr(0, 10));
}

- name: Checking if server ${{ env.server_major }} is EOL
if: ${{ env.server_major != '' }}
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 }}"' \
| jq '.["${{ env.server_major }}"]["eol"] // "9999-99-99" | . >= "${{ env.current_day }}"' \
| grep -q true
2 changes: 1 addition & 1 deletion .github/workflows/block-merge-freeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Register server reference to fallback to master branch
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/block-outdated-3rdparty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- 'version.php'

- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false

Expand All @@ -41,7 +41,7 @@ jobs:
echo "commit=$(git submodule status | grep ' 3rdparty' | egrep -o '[a-f0-9]{40}')" >> "$GITHUB_OUTPUT"

- name: Register server reference to fallback to master branch
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/block-unconventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ jobs:
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@5d5cd550d3e189c569da8f16ea8de2d821c9bf7a # v3.31.2
uses: github/codeql-action/init@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
config-file: ./.github/codeql-config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5d5cd550d3e189c569da8f16ea8de2d821c9bf7a # v3.31.2
uses: github/codeql-action/analyze@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
with:
category: "/language:${{matrix.language}}"
28 changes: 14 additions & 14 deletions .github/workflows/command-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Get repository from pull request comment
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
id: get-repository
with:
github-token: ${{secrets.GITHUB_TOKEN}}
Expand All @@ -57,7 +57,7 @@ jobs:
require: write

- name: Add reaction on start
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
Expand All @@ -83,7 +83,7 @@ jobs:
id: comment-branch

- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
Expand All @@ -103,7 +103,7 @@ jobs:
key: git-repo

- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
# Needed to allow force push later
persist-credentials: true
Expand All @@ -120,11 +120,11 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: package-engines-versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
fallbackNode: '^24'
fallbackNpm: '^11.3'

- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
Expand All @@ -136,26 +136,26 @@ jobs:
if: ${{ contains(needs.init.outputs.arg1, 'rebase') }}
run: |
git fetch origin '${{ needs.init.outputs.base_ref }}:${{ needs.init.outputs.base_ref }}'

# Start the rebase
git rebase 'origin/${{ needs.init.outputs.base_ref }}' || {
# Handle rebase conflicts in a loop
while [ -d .git/rebase-merge ] || [ -d .git/rebase-apply ]; do
echo "Handling rebase conflict..."

# Remove and checkout /dist and /js folders from the base branch
if [ -d "dist" ]; then
rm -rf dist
git checkout origin/${{ needs.init.outputs.base_ref }} -- dist/ 2>/dev/null || echo "No dist folder in base branch"
fi
if [ -d "js" ]; then
rm -rf js
rm -rf js
git checkout origin/${{ needs.init.outputs.base_ref }} -- js/ 2>/dev/null || echo "No js folder in base branch"
fi

# Stage all changes
git add .

# Check if there are any changes after resolving conflicts
if git diff --cached --quiet; then
echo "No changes after conflict resolution, skipping commit"
Expand All @@ -164,7 +164,7 @@ jobs:
echo "Changes found, continuing rebase without editing commit message"
git -c core.editor=true rebase --continue
fi

# Break if rebase is complete
if [ ! -d .git/rebase-merge ] && [ ! -d .git/rebase-apply ]; then
break
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
run: git push --force-with-lease origin "$HEAD_REF"

- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/command-pull-3rdparty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
Expand All @@ -38,15 +38,15 @@ jobs:
id: comment-branch

- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
ref: ${{ steps.comment-branch.outputs.head_ref }}

- name: Register server reference to fallback to master branch
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -71,7 +71,7 @@ jobs:
git config --local user.name 'nextcloud-command'

- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
if: ${{ env.server_ref == '' }}
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
Expand All @@ -91,7 +91,7 @@ jobs:
git push

- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
Expand Down
27 changes: 12 additions & 15 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
# Usually it's the base branch of the PR, but for pushes it's the branch itself.
# e.g. 'main', 'stable27' or 'feature/my-feature'
# n.b. server will use head_ref, as we want to test the PR branch.
BRANCH: ${{ github.head_ref || github.ref_name }}
BRANCH: ${{ github.base_ref || github.ref_name }}


permissions:
Expand All @@ -48,7 +48,7 @@ jobs:
exit 1

- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
# We need to checkout submodules for 3rdparty
Expand All @@ -58,7 +58,7 @@ jobs:
id: check_composer
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
with:
files: "composer.json"
files: 'composer.json'

- name: Install composer dependencies
if: steps.check_composer.outputs.files_exists == 'true'
Expand All @@ -68,11 +68,11 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: "^20"
fallbackNpm: "^10"
fallbackNode: '^24'
fallbackNpm: '^11.3'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

Expand All @@ -84,9 +84,6 @@ jobs:
npm ci
TESTING=true npm run build --if-present

- name: Show cypress version
run: npm run cypress:version

- name: Save context
uses: buildjet/cache/save@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4 # v4.0.2
with:
Expand Down Expand Up @@ -163,7 +160,7 @@ jobs:
path: ./

- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ needs.init.outputs.nodeVersion }}

Expand All @@ -174,7 +171,7 @@ jobs:
run: ./node_modules/cypress/bin/cypress install

- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@b8ba51a856ba5f4c15cf39007636d4ab04f23e3c # v6.10.2
uses: cypress-io/github-action@7ef72e250a9e564efb4ed4c2433971ada4cc38b4 # v6.10.4
with:
# We already installed the dependencies in the init job
install: false
Expand All @@ -198,10 +195,10 @@ jobs:
SETUP_TESTING: ${{ matrix.containers == 'setup' && 'true' || '' }}

- name: Upload snapshots and videos
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
if: always()
with:
name: snapshots_videos_${{ matrix.containers }}
name: snapshots_${{ matrix.containers }}
path: |
cypress/snapshots
cypress/videos
Expand All @@ -220,8 +217,8 @@ jobs:
if: failure() && matrix.containers != 'component'
run: docker exec nextcloud-e2e-test-server_${{ env.APP_NAME }} tar -cvjf - data > data.tar

- name: Upload data dir archive
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
- name: Upload data archive
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
Expand Down
Loading
Loading