Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
35e8b0a
Update Extract app for Nextcloud 33 compatibility
google-labs-jules[bot] May 19, 2026
d50b994
feat: update compatibility for Nextcloud 33
google-labs-jules[bot] May 19, 2026
5dbe38f
feat: update compatibility for Nextcloud 33
google-labs-jules[bot] May 19, 2026
834fbcf
feat: compatibility for Nextcloud 33
google-labs-jules[bot] May 19, 2026
e0776ef
Merge pull request #1 from ashcoft/jules-nc33-compatibility-update-15…
ashcoft May 19, 2026
f3591e2
Merge branch 'LibreCodeCoop:main' into main
ashcoft Jun 18, 2026
40a2a4e
feat: add NC33+ support
openhands-agent Jun 18, 2026
fe347d6
Merge pull request #2 from ashcoft/feature/nc33-plus-support
ashcoft Jun 18, 2026
e554518
Merge pull request #3 from LibreCodeCoop/main
mergify[bot] Jul 12, 2026
e07fb76
chore(deps): Bump the npm_and_yarn group across 1 directory with 6 up…
dependabot[bot] Jul 12, 2026
6f5b766
fix: update browserslist to exclude older browsers causing esbuild is…
openhands-agent Jul 12, 2026
6302d4c
Merge pull request #8 from ashcoft/dependabot/npm_and_yarn/npm_and_ya…
mergify[bot] Jul 12, 2026
bfeac43
chore(deps-dev): Bump fast-uri
dependabot[bot] Jul 12, 2026
83d62e5
Merge pull request #9 from ashcoft/dependabot/npm_and_yarn/npm_and_ya…
mergify[bot] Jul 12, 2026
c25f1bb
fix: update @nextcloud/vite-config to v3 beta to support vite v8
openhands-agent Jul 12, 2026
6e8ae06
Merge pull request #10 from ashcoft/fix/vite-config-v3
mergify[bot] Jul 12, 2026
cf15c62
chore: update dependencies for Nextcloud 34+ and Node 20/22/24 support
openhands-agent Jul 12, 2026
9366b4e
chore: target NC 33-34 and Node 24+ only
openhands-agent Jul 12, 2026
cc72ff9
fix: update dependencies and CI for NC 33-34 and Node 24+ support
openhands-agent Jul 12, 2026
5003879
Merge pull request #12 from ashcoft/feature/nc34-plus-support
mergify[bot] Jul 12, 2026
de1864a
feat: add semantic-release workflow for auto releases
openhands-agent Jul 12, 2026
f4becb2
Merge branch 'feature/nc34-plus-support'
openhands-agent Jul 12, 2026
79d7626
fix: simplify releaserc config
openhands-agent Jul 12, 2026
d143d37
fix: build app before semantic-release in workflow
openhands-agent Jul 12, 2026
8c4a0d2
Merge branch 'feature/nc34-plus-support'
openhands-agent Jul 12, 2026
1d6c870
chore: remove release workflow temporarily
openhands-agent Jul 12, 2026
76778ae
feat: add semantic-release workflow for auto releases
openhands-agent Jul 12, 2026
187a89d
fix: add REUSE annotations for new files
openhands-agent Jul 12, 2026
0570379
Merge pull request #14 from ashcoft/feature/add-release-workflow
mergify[bot] Jul 12, 2026
e6888e2
Merge pull request #16 from LibreCodeCoop/main
mergify[bot] Jul 18, 2026
10f952c
chore(deps): Bump fast-xml-parser
dependabot[bot] Jul 24, 2026
cb6f89b
Add `pullfrog.yml` workflow
ashcoft Jul 25, 2026
295b452
Merge pull request #18 from ashcoft/dependabot/npm_and_yarn/npm_and_y…
mergify[bot] Jul 26, 2026
3894ae3
chore(deps-dev): Bump the npm_and_yarn group across 1 directory with …
dependabot[bot] Jul 26, 2026
a7ede49
Merge pull request #20 from ashcoft/dependabot/npm_and_yarn/npm_and_y…
mergify[bot] Jul 26, 2026
fe461e3
fix(ci): Use ubuntu-latest runner for dependabot auto-approve (#22)
ashcoft Sep 4, 2026
eaee3b0
fix(ci): Use automerge PAT for dependabot approval step (#23)
ashcoft Sep 4, 2026
7efcd64
fix(ci): Make dependabot approve/automerge steps best-effort (#24)
ashcoft Sep 4, 2026
09220eb
chore(deps-dev): Bump the npm_and_yarn group across 1 directory with …
dependabot[bot] Sep 4, 2026
13d6d74
Merge pull request #21 from ashcoft/dependabot/npm_and_yarn/npm_and_y…
mergify[bot] Sep 4, 2026
f7defb1
fix(deps): Bump dompurify to 3.4.13 (GHSA security fix)
openhands-agent Sep 4, 2026
ebf0177
Merge pull request #25 from ashcoft/fix/deps/dompurify-3-4-13
mergify[bot] Sep 4, 2026
6e5de39
fix(deps): Force js-yaml to 4.3.2 (CVE-2026-59870) (#26)
ashcoft Sep 4, 2026
4fb86e0
fix(deps): Bump browserslist to 4.28.9 (GHSA security fix
openhands-agent Sep 4, 2026
e75847a
Merge pull request #27 from ashcoft/fix/deps/browserslist-4-28-9
mergify[bot] Sep 4, 2026
79b75f2
chore(deps): Bump the npm_and_yarn group across 1 directory with 2 up…
dependabot[bot] Oct 4, 2026
e7e92af
chore(deps): Bump the npm_and_yarn group across 1 directory with 2 up…
aviator-app[bot] Oct 13, 2026
48e21ef
chore(deps): Bump the npm_and_yarn group across 1 directory with 5 up…
dependabot[bot] Oct 13, 2026
07f7d85
chore: merge upstream LibreCodeCoop/main and resolve psalm.xml phpVer…
Oct 13, 2026
70d898f
feat: add Nextcloud 35 support
Oct 13, 2026
0a5aed4
fix(l10n): declare OC global in Luxembourgish catalog to satisfy stat…
Oct 13, 2026
3dc61c7
Merge pull request #32 from ashcoft/cline/xf375vr1
mergify[bot] Oct 13, 2026
713eb5e
chore(deps): Bump the npm_and_yarn group across 1 directory with 5 up…
aviator-app[bot] Oct 13, 2026
d647fe7
chore(deps): Bump follow-redirects
dependabot[bot] Oct 22, 2026
7c722fb
ci: remove obsolete roave/security-advisories step from psalm workflow
openhands-agent Oct 23, 2026
c66aea2
fix(ci): bump psalm to 6.20.1 for PHP 8.5 support
openhands-agent Oct 23, 2026
d122ffd
Merge pull request #34 from ashcoft/dependabot/npm_and_yarn/npm_and_y…
mergify[bot] Oct 23, 2026
029feb8
chore(deps-dev): Bump vite
dependabot[bot] Oct 23, 2026
39e9cc0
chore(deps-dev): Bump vite from 8.1.4 to 8.3.5 in the npm_and_yarn gr…
aviator-app[bot] Oct 23, 2026
21b6226
chore(deps): Bump dompurify
dependabot[bot] Oct 23, 2026
d3b000c
Merge pull request #36 from ashcoft/dependabot/npm_and_yarn/npm_and_y…
mergify[bot] Oct 23, 2026
f64d91a
Merge pull request #37 from LibreCodeCoop/main
mergify[bot] Oct 23, 2026
6078525
ci(actions): sync workflow templates with LibreCodeCoop main
openhands-agent Oct 27, 2026
3cf467f
fix(release): publish app archives with every release
openhands-agent Oct 27, 2026
9087d55
fix(files): register the file action in the @nextcloud/files v4 registry
openhands-agent Oct 27, 2026
33e65c8
fix(extraction): map every archive MIME type Nextcloud reports
openhands-agent Oct 27, 2026
4739005
docs(readme): rewrite the README to the shared app standard
openhands-agent Oct 27, 2026
9c53366
chore(reuse): cover tsconfig.json with a license annotation
openhands-agent Oct 27, 2026
b511c7e
fix(extraction): decide success from the 7za/unrar exit code, not out…
openhands-agent Oct 27, 2026
d054d31
fix: address review findings on release, extraction and tests
openhands-agent Oct 27, 2026
fed1b0a
docs(readme): correct install, prerequisites, error and release details
openhands-agent Oct 27, 2026
6015adb
refactor(files): split folder construction out of the action's exec
openhands-agent Oct 27, 2026
3393b2f
style: satisfy the Codacy comparison-operator checks on new lines
openhands-agent Oct 28, 2026
45a0dc1
fix(extraction): repair regressions in the wrapped-tarball path
openhands-agent Oct 28, 2026
fb2e90a
fix: fail the lockfile bump loudly and correct the README packaging n…
openhands-agent Oct 28, 2026
7b2ef45
test: build the tarball fixtures with PharData instead of shelling ou…
openhands-agent Oct 28, 2026
9c70787
refactor(files): split the action helpers and document the new test
openhands-agent Oct 28, 2026
c96f1a6
fix(files): report a refused extraction once instead of twice
openhands-agent Oct 28, 2026
79a48e4
fix(deps): drop @nextcloud/dialogs, removing the picomatch ReDoS and …
openhands-agent Oct 28, 2026
743cbf9
chore(lint): suppress DeepSource JS-0067 on the action helpers
openhands-agent Oct 28, 2026
9808c08
fix(extraction): reject an empty result-folder name and fix the test …
openhands-agent Oct 28, 2026
8c8e18a
chore(release): suppress DeepSource JS-0038 on the semantic-release p…
openhands-agent Oct 28, 2026
86d497f
test: document the test methods and default the string properties
openhands-agent Oct 28, 2026
883563b
fix(security): reject dot path components as the extraction folder
openhands-agent Oct 28, 2026
1d05cf3
chore(lint): put the skipcq markers on the line the rule flags
openhands-agent Oct 28, 2026
b8c455d
test: document the test classes and initialise the mock properties
openhands-agent Oct 28, 2026
2a5aefc
test: restore the mock type hints via @var annotations
openhands-agent Oct 28, 2026
12e9c25
Merge pull request #39 from ashcoft/fix/release-assets-readme-tests
mergify[bot] Oct 28, 2026
6fe7717
chore(deps-dev): Bump the npm_and_yarn group across 1 directory with …
dependabot[bot] Oct 28, 2026
59cb41f
Create SECURITY.md for security policy
ashcoft Oct 28, 2026
09c329b
ci(deps): add dependabot config and fix the SECURITY.md licence header
openhands-agent Oct 28, 2026
e999278
fix(ci): widen the undici ignore to the patch target and correct the …
openhands-agent Oct 28, 2026
f66f48a
Merge pull request #41 from ashcoft/fix/dependabot-unfixable-alerts
mergify[bot] Oct 28, 2026
83f8bd7
chore(release): 3.1.1 [skip ci]
github-actions[bot] Oct 28, 2026
a0499d7
chore(deps-dev): Bump @nextcloud/vite-config
dependabot[bot] Oct 28, 2026
3a0657f
chore(deps): Bump the github-actions group with 5 updates
dependabot[bot] Oct 28, 2026
eab05ef
chore(deps): Bump alexwilson/enable-github-automerge-action
dependabot[bot] Oct 28, 2026
6ccec3f
chore(deps): Bump actions/checkout from 4 to 7
dependabot[bot] Oct 28, 2026
abe4f92
chore(deps): Bump actions/setup-node from 4 to 7
dependabot[bot] Oct 28, 2026
6cbad69
chore(deps): Bump dorny/paths-filter from 3.0.2 to 4.0.3
dependabot[bot] Oct 28, 2026
55be114
chore(deps-dev): Bump @nextcloud/vite-config from 3.0.0-beta.0 to 3.0…
aviator-app[bot] Oct 28, 2026
f29125c
chore(deps): Bump actions/setup-node from 4 to 7 (#47)
aviator-app[bot] Oct 28, 2026
a4e727b
chore(deps): Bump alexwilson/enable-github-automerge-action from 2.0.…
aviator-app[bot] Oct 28, 2026
9241960
chore(deps): Bump actions/checkout from 4 to 7 (#46)
aviator-app[bot] Oct 28, 2026
1e05e5a
chore(deps): Bump dorny/paths-filter from 3.0.2 to 4.0.3 (#48)
aviator-app[bot] Oct 28, 2026
8ae1683
chore(deps): Bump the github-actions group with 5 updates (#44)
aviator-app[bot] Oct 28, 2026
c1b8299
chore(sync): merge upstream LibreCodeCoop/main to satisfy ancestry
openhands-agent Oct 29, 2026
71dd146
Merge pull request #56 from ashcoft/sync/upstream-main-ancestry
mergify[bot] Oct 29, 2026
b0be329
chore(release): 3.1.2 [skip ci]
github-actions[bot] Oct 29, 2026
3876977
fix(release): stop the release failing on upstream pull request numbers
openhands-agent Oct 29, 2026
6924cc0
fix(extraction): allow extraction when server-side encryption is enabled
openhands-agent Oct 30, 2026
fb8dc90
Merge pull request #57 from ashcoft/fix/release-upstream-pr-reference
mergify[bot] Oct 30, 2026
101909e
chore(release): 3.1.3 [skip ci]
github-actions[bot] Oct 30, 2026
df4d49b
fix(extraction): guard on local storage, and propagate rar failures
openhands-agent Oct 30, 2026
b4b0d60
style: compare the external flag explicitly for Codacy
openhands-agent Oct 30, 2026
589cb0f
Merge pull request #58 from ashcoft/fix/allow-extraction-with-encryption
mergify[bot] Oct 30, 2026
e6cb340
chore(release): 3.1.4 [skip ci]
github-actions[bot] Oct 30, 2026
4048efb
fix(extraction): import the result on object storage and encrypted st…
openhands-agent Oct 30, 2026
4a996c4
chore(release): 3.1.5 [skip ci]
github-actions[bot] Oct 30, 2026
d81a03d
Merge pull request #60 from LibreCodeCoop/main
mergify[bot] Oct 31, 2026
511e44f
chore(release): 3.1.6 [skip ci]
github-actions[bot] Oct 31, 2026
c790459
docs: record the pull-request-only workflow in AGENTS.md
openhands-agent Oct 31, 2026
5fce255
docs: add REUSE header and address review comments in AGENTS.md
openhands-agent Oct 31, 2026
0a7eb3c
Merge pull request #62 from ashcoft/chore/agents-md
mergify[bot] Oct 31, 2026
e27a11b
chore(deps): Bump follow-redirects from 1.16.1 to 1.16.2
dependabot[bot] Oct 31, 2026
2e609f6
Merge pull request #63 from ashcoft/dependabot/npm_and_yarn/follow-re…
mergify[bot] Oct 31, 2026
e76321c
chore(deps): Bump fsfe/reuse-action from 5.0.0 to 6.0.0
dependabot[bot] Nov 1, 2026
f3aadfb
chore(deps): Bump skjnldsv/read-package-engines-version-actions
dependabot[bot] Nov 1, 2026
9d91abd
chore(deps): Bump fsfe/reuse-action from 5.0.0 to 6.0.0 (#64)
aviator-app[bot] Nov 1, 2026
fd4602c
chore(deps): Bump skjnldsv/read-package-engines-version-actions from …
aviator-app[bot] Nov 1, 2026
b3c22fc
Merge pull request #67 from LibreCodeCoop/main
mergify[bot] Nov 3, 2026
3122a29
chore(release): 3.1.7 [skip ci]
github-actions[bot] Nov 3, 2026
707fa7d
chore(deps-dev): Bump vite from 8.3.5 to 8.3.6 in the npm_and_yarn group
dependabot[bot] Nov 8, 2026
3df3ad4
chore(deps): Bump icewind1991/nextcloud-version-matrix
dependabot[bot] Nov 8, 2026
64fe2c0
chore(deps-dev): Bump vite from 8.3.5 to 8.3.6 in the npm_and_yarn gr…
aviator-app[bot] Nov 8, 2026
49325d1
chore(deps): Bump icewind1991/nextcloud-version-matrix from 1.3.3 to …
aviator-app[bot] Nov 8, 2026
a4df9bc
chore(deps): Bump fast-xml-parser from 5.11.2 to 5.12.0
dependabot[bot] Nov 12, 2026
223f36f
chore(deps): Bump fast-xml-parser from 5.11.2 to 5.12.0 (#72)
aviator-app[bot] Nov 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# SPDX-FileCopyrightText: 2025 LibreCode coop and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# Dependabot configuration.
#
# The `ignore` entries below cover two advisories that cannot be fixed from this
# repository. Dependabot's update job fails when it cannot produce a security
# update, so leaving them enabled turns every run red:
#
# undici 6.29.0 - reached only through semantic-release -> @semantic-release/npm
# -> npm -> node-gyp. npm vendors this dependency inside its own
# tarball (inBundle: true), so neither an `overrides` entry nor a
# lockfile edit reaches it; `npm ci` restores 6.29.0. npm 11.21.1
# and 12.2.1 both still bundle 6.29.0, so there is no release to
# move to. Dependabot reports: "Security update not possible for
# undici ... latest possible version is 6.29.0".
#
# elliptic 6.6.1 - dev-only, via @nextcloud/vite-config -> node-stdlib-browser.
# 6.6.1 is the latest published version, so no fix exists.
# Dependabot reports: "Security update not found for elliptic ...
# dependency is up to date but still vulnerable".
#
# Revisit both when npm ships a patched undici, or when a patched elliptic is
# published. The corresponding Dependabot alerts stay open as a reminder.
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 5
groups:
npm_and_yarn:
patterns:
- "*"
update-types:
- minor
- patch
ignore:
# The range must cover the version Dependabot would try to move to, not
# just the vulnerable one: `ignore.versions` matches the *target* version,
# so "<6.29.1" would still attempt 6.29.1 and leave the job red. 6.29.1 is
# the earliest patched release and is unreachable here, so it is included.
- dependency-name: undici
versions:
- "<=6.29.1"
# 6.6.1 is the newest published version, so no fix exists yet. Scoped to
# this version range rather than the package, so a future patched release
# is still picked up automatically.
- dependency-name: elliptic
versions:
- "<=6.6.1"

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
github-actions:
patterns:
- "*"
update-types:
- minor
- patch
2 changes: 1 addition & 1 deletion .github/workflows/block-unconventional-commits.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow is provided via the organization template repository
#
# https://github.com/LibreCodeCoop/.github
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/dependabot-approve-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
auto-approve-merge:
if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'renovate[bot]'
runs-on: ubuntu-latest-low
runs-on: ubuntu-latest
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write
Expand All @@ -38,12 +38,19 @@ jobs:
exit 1

# GitHub actions bot approve
# Best-effort: GITHUB_TOKEN cannot approve PRs when the repo setting
# "Allow GitHub Actions to create and approve pull requests" is disabled,
# so tolerate failure (Mergify queue handles the actual merge in this repo).
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
continue-on-error: true
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

# Nextcloud bot approve and merge request
# Best-effort: requires the DEPENDABOT_AUTOMERGE_TOKEN secret; tolerate
# failures so the check stays green instead of blocking Dependabot PRs.
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2
continue-on-error: true
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow is provided via the organization template repository
#
# https://github.com/LibreCodeCoop/.github
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
Expand Down Expand Up @@ -61,14 +61,14 @@ jobs:
persist-credentials: false

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
uses: skjnldsv/read-package-engines-version-actions@06d6db44aa62f4609ba070f556ec24bc99fb85cb # v4
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: "^20"
fallbackNpm: "^10"

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/lint-info-xml.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow is provided via the organization template repository
#
# https://github.com/LibreCodeCoop/.github
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
Expand All @@ -27,8 +27,6 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
sparse-checkout: |
appinfo/

- name: Download schema
run: wget https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/api/v1/release/info.xsd
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/lint-php-cs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow is provided via the organization template repository
#
# https://github.com/LibreCodeCoop/.github
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
Expand Down Expand Up @@ -31,10 +31,10 @@ jobs:

- name: Get php version
id: versions
uses: nextcloud-libraries/nextcloud-version-matrix@cd0211ffcef1065e2020cd579e4843b8746e7a58 # v1.3.3
uses: icewind1991/nextcloud-version-matrix@71959de73c244b11ecbf4503b87c41d65b0f64ae # v1.3.4

- name: Set up php${{ steps.versions.outputs.php-min }}
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0
with:
php-version: ${{ steps.versions.outputs.php-min }}
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 @@ -43,12 +43,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Remove nextcloud/ocp
- name: Install dependencies
run: |
composer remove nextcloud/ocp --dev --no-scripts

- name: Install composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
composer i

- name: Lint
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
11 changes: 5 additions & 6 deletions .github/workflows/lint-php.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow is provided via the organization template repository
#
# https://github.com/LibreCodeCoop/.github
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
Expand All @@ -21,8 +21,7 @@ jobs:
matrix:
runs-on: ubuntu-latest
outputs:
php-min: ${{ steps.versions.outputs.php-min }}
php-max: ${{ steps.versions.outputs.php-max }}
php-versions: ${{ steps.versions.outputs.php-versions }}
steps:
- name: Checkout app
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -31,14 +30,14 @@ jobs:

- name: Get version matrix
id: versions
uses: nextcloud-libraries/nextcloud-version-matrix@cd0211ffcef1065e2020cd579e4843b8746e7a58 # v1.3.3
uses: icewind1991/nextcloud-version-matrix@71959de73c244b11ecbf4503b87c41d65b0f64ae # v1.0.0

php-lint:
runs-on: ubuntu-latest
needs: matrix
strategy:
matrix:
php-versions: ['${{ needs.matrix.outputs.php-min }}', '${{ needs.matrix.outputs.php-max }}']
php-versions: ${{fromJson(needs.matrix.outputs.php-versions)}}

name: php-lint

Expand All @@ -49,7 +48,7 @@ jobs:
persist-credentials: false

- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0
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
10 changes: 5 additions & 5 deletions .github/workflows/lint-stylelint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow is provided via the organization template repository
#
# https://github.com/LibreCodeCoop/.github
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
Expand Down Expand Up @@ -30,14 +30,14 @@ jobs:
persist-credentials: false

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
uses: skjnldsv/read-package-engines-version-actions@06d6db44aa62f4609ba070f556ec24bc99fb85cb # v4
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: "^20"
fallbackNpm: "^10"

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/npm-build.yml → .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This workflow is provided via the organization template repository
#
# https://github.com/LibreCodeCoop/.github
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Build Javascript
name: Node

on: pull_request

Expand Down Expand Up @@ -58,26 +58,20 @@ jobs:
persist-credentials: false

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
uses: skjnldsv/read-package-engines-version-actions@06d6db44aa62f4609ba070f556ec24bc99fb85cb # v4
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: "^20"
fallbackNpm: "^10"

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'

- name: Validate package-lock.json # See https://github.com/npm/cli/issues/4460
run: |
npm i -g npm-package-lock-add-resolved@1.1.4
npm-package-lock-add-resolved
git --no-pager diff --exit-code

- name: Install dependencies & build
env:
CYPRESS_INSTALL_BINARY: 0
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow is provided via the organization template repository
#
# https://github.com/LibreCodeCoop/.github
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
Expand Down Expand Up @@ -32,10 +32,10 @@ jobs:

- name: Get php version
id: php_versions
uses: nextcloud-libraries/nextcloud-version-matrix@cd0211ffcef1065e2020cd579e4843b8746e7a58 # v1.3.3
uses: icewind1991/nextcloud-version-matrix@71959de73c244b11ecbf4503b87c41d65b0f64ae # v1.3.4

- name: Set up php
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0
with:
php-version: ${{ steps.php_versions.outputs.php-available }}
extensions: xml
Expand All @@ -52,17 +52,17 @@ jobs:

- name: Read package.json node and npm engines version
if: steps.check_typescript_openapi.outputs.files_exists == 'true'
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
uses: skjnldsv/read-package-engines-version-actions@06d6db44aa62f4609ba070f556ec24bc99fb85cb # v4
id: node_versions
# Continue if no package.json
continue-on-error: true
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^10'

- name: Set up node ${{ steps.node_versions.outputs.nodeVersion }}
if: ${{ steps.node_versions.outputs.nodeVersion }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ steps.node_versions.outputs.nodeVersion }}

Expand All @@ -78,8 +78,8 @@ jobs:
run: |
npm ci

- name: Install composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
- name: Set up dependencies
run: composer i

- name: Regenerate OpenAPI
run: composer run openapi
Expand Down
Loading