Commit Graph

624 Commits

Author SHA1 Message Date
dependabot[bot]
16542692d5 Bump actions/upload-artifact from 4 to 6 (#37250)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-16 21:29:59 +01:00
MDW
c47998522a Qual: Ignore exit code from grep -v in phan flow (#37213)
# Qual: Ignore exit code from `grep -v` in phan flow

`grep -v` returns 1 when the resulting filtered list is empty and would stop the execution.
This is fixed with `|| true` to have a final exit code that is 0.
2026-02-12 19:53:03 +01:00
MDW
f8e609b3b3 Qual: Update spelling (#37199)
* Qual: Update spelling for pre-select variants

# Qual: Update spelling for pre-select variants

In English, preselect is without the hyphen.  Update text and made some translations
related to preselect.

* Qual: Update composant to component and/or adequate translation.

# Qual: Update composant to component and/or adequate translation.

"Composant(s)" was mostly referenced in french file/class comments.
Updated

* Qual: Fix misspellings related to "criteria"

# Qual: Fix misspellings related to "criteria"

* Qual: Fix produt misspellings

# Qual: Fix produt misspellings

Change 'produt' to 'product'.

* Qual: Update French comments with "composants"

#Qual: Update French comments with "composants"

- Translating French comments to English (avoid codespell notice)

* Qual: Fixed typo 'bad practive' to 'bad practice'

# Qual: Fixed typo 'bad practive' to 'bad practice'

* Qual: Update phan.yml to exclude specific files from analysis

- Added file exclusion pattern to match phan configuration
- Added check for empty file list to avoid unnecessary phan execution

* Qual: Update file filtering in phan.yml workflow

The change updates the file filtering process in the phan.yml workflow to correctly redirect the output of the grep command to a temporary file.

* Qual: Ignore $systemfunction always exists

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-12 16:29:11 +01:00
MDW
8436004ce6 qual: Update PHPStan workflow to run on all files in integration (#37207)
The PHPStan workflow has been updated to run on all files in integration branches.
2026-02-12 15:14:03 +01:00
MDW
358a4883c6 Qual: Fix ambigious redirect error on Phan workflow (#37200)
# Qual: Fix ambigious redirect error on Phan workflow

Rewrote the shell command that is supposed to suppress a file contents
but is flagged by the environment.
2026-02-11 21:13:08 +01:00
Laurent Destailleur
ff63da5fac Fix phan 2026-02-11 15:08:13 +01:00
Laurent Destailleur
bd65974d56 Fix phan 2026-02-11 15:07:19 +01:00
MDW
411a18ec9f Qual: Partial phan run on PR's, complete run on integration branches (#37186)
* Qual: Partial phan run on PR's, complete on main

# Qual: Partial phan run on PR's, complete on main

The selection is based on the branch name.
To run a complete phan run in a PR, the branch name of the PR must include phan_full.
This can help to fix remaining phan issue before re-integrating to the develop branch.

* qual: Update workflow and pre-commit configurations

- Enable phan workflow by uncommenting the relevant lines
- Update actionlint version to v1.7.10
- Add manual stage to actionlint hook in pre-commit-config.yaml

* qual: Update Phan analysis conditions

The conditions for running Phan analysis have been updated to include an additional check for branches containing 'phan_full'.

* qual: Update Phan workflow

- Replace github.event.ref with github.ref_name
- Add FILE_CHANGE_LIST environment variable for better file handling
- Update file list creation and usage in the workflow

* qual: Update Phan workflow conditions

Fix the branch reference (head_ref in PR, ref_name otherwise)

* Add step for debug information

* Remove debug step

* Fix: Missing initialisations members/new.php

Following a suppression of assignments, the variables disabledphy and disabledmor were undefined.

* fix: Update budget selection dropdown arguments in member creation form

Correct the arguments in the member creation form.

* qual: Add cs2pr to phan workflow

- Add cs2pr to the tools list in the phan workflow
- Change the output mode of phan to checkstyle
- Add a step to add results to PR as Github notices
- Add a step to provide phan log as artifact

* qual: Update Phan workflow to use environment variable for file list

The change fixes the Phan workflow to use the environment variable `$FILE_CHANGED_LIST` to clear the file

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-11 12:58:04 +01:00
Laurent Destailleur
9f9ca3faf7 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-10 20:36:42 +01:00
Laurent Destailleur
fc2888b42d CI 2026-02-09 23:01:01 +01:00
Laurent Destailleur
7221f0a8ef CI 2026-02-09 20:00:35 +01:00
Laurent Destailleur
fd9f4484fa Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-09 20:00:02 +01:00
Laurent Destailleur
4aae67aa27 Disable phan on v23 2026-02-09 19:58:02 +01:00
Laurent Destailleur
f3aa82e4ba Restrict to modiied files 2026-02-04 16:16:51 +01:00
Laurent Destailleur
01d715053a try to fix phan 2026-01-29 23:16:51 +01:00
Laurent Destailleur
16bdaa5b50 Test without file list 2026-01-29 19:09:57 +01:00
Laurent Destailleur
8757990a52 Try to force phan version 2026-01-19 20:46:11 +01:00
Laurent Destailleur
3f14dc0562 Fix CI 2026-01-19 19:07:29 +01:00
Laurent Destailleur
1175f20f97 Fix CI 2026-01-19 19:07:14 +01:00
Laurent Destailleur
6cde33dfd1 Try to fix ci 2026-01-19 18:00:48 +01:00
Laurent Destailleur
07d10fdb22 CI 2026-01-19 17:36:11 +01:00
Laurent Destailleur
e3d1e21df3 Fix ci 2026-01-19 17:21:45 +01:00
Laurent Destailleur
8dd729af9a Fix id ci 2026-01-19 17:18:57 +01:00
Laurent Destailleur
9857539204 Fix ci 2026-01-19 17:11:42 +01:00
Laurent Destailleur
abb256212a Ci 2026-01-19 17:05:01 +01:00
Laurent Destailleur
fd1b690813 ci 2026-01-19 16:53:17 +01:00
Laurent Destailleur
05f8d70c39 ci 2026-01-19 16:46:00 +01:00
Laurent Destailleur
e6c735b66e cs 2026-01-19 16:42:25 +01:00
Laurent Destailleur
d4860519a6 ci 2026-01-19 16:36:47 +01:00
Laurent Destailleur
af24facf4a Ci 2026-01-19 16:20:55 +01:00
Laurent Destailleur
2a2bc335c8 Fix ci 2026-01-19 16:14:20 +01:00
Laurent Destailleur
b12b20221b Fix CI 2026-01-19 16:10:30 +01:00
Laurent Destailleur
0fb5a9b3e9 Fix CI 2026-01-19 16:05:31 +01:00
Laurent Destailleur
b46b8b4476 Fix shellcheck 2026-01-19 16:00:11 +01:00
Laurent Destailleur
6a103a9ac9 Fix CI 2026-01-19 15:50:45 +01:00
Laurent Destailleur
3043cf65d1 Fix CI 2026-01-19 15:48:01 +01:00
Laurent Destailleur
5ab2014e09 Try to run phan and phpstan on modified files only 2026-01-19 15:34:28 +01:00
Laurent Destailleur
fcefef410c Compatibility with the GHSA VDP 2025-12-18 10:35:06 +01:00
Laurent Destailleur
d9f54b7bae Merge pull request #36653 from Dolibarr/dependabot/github_actions/actions/upload-artifact-6
Bump actions/upload-artifact from 5 to 6
2025-12-15 13:52:32 +01:00
dependabot[bot]
491711b283 Bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 05:02:35 +00:00
dependabot[bot]
7112f510c1 Bump actions/cache from 4 to 5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 05:02:30 +00:00
Laurent Destailleur
810ac047dc Fix CI 2025-12-04 21:08:17 +01:00
Laurent Destailleur
e350886c15 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-04 20:38:22 +01:00
Laurent Destailleur
78316a577d Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-04 20:26:59 +01:00
Laurent Destailleur
3068a778da Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-12-04 19:51:48 +01:00
Laurent Destailleur
9d307a4238 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-12-04 19:07:33 +01:00
Laurent Destailleur
222cd76799 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-12-04 18:53:04 +01:00
Aloïs Micard
b2f9de7489 Add new workflow to trigger Docker build 2025-11-28 17:27:32 +01:00
Laurent Destailleur
cf2df65231 CI 2025-11-26 02:23:18 +01:00
Laurent Destailleur
41d103446a Rename file 2025-11-26 02:06:26 +01:00