forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '20.0' of https://github.com/Dolibarr/dolibarr into addH…
…ookPaymentMethod-20
- Loading branch information
Showing
6,085 changed files
with
342,730 additions
and
214,411 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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,4 +2,4 @@ | |
|
||
open_collective: dolibarr | ||
custom: https://wiki.dolibarr.org/index.php/Subscribe | ||
github: [eldy] | ||
github: [eldy] |
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
Empty file.
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,16 @@ | ||
# Workflow run order | ||
|
||
To reduce run minutes, the following order is put in place: | ||
|
||
On PR & Merge, always run: | ||
|
||
- pre-commit; | ||
- phan. | ||
|
||
When both succeed, start: | ||
|
||
- phpstan; | ||
- Windows-ci; | ||
- travis. | ||
|
||
See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow |
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,36 @@ | ||
--- | ||
name: Cleanup caches of a closed branch | ||
# See https://github.com/actions/cache/blob/main/tips-and-workarounds.md#force-deletion-of-caches-overriding-default-cache-eviction-policy | ||
on: | ||
pull_request: | ||
types: [closed] | ||
workflow_dispatch: | ||
jobs: | ||
cleanup: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# `actions:write` permission is required to delete caches | ||
# See also: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-a-github-actions-cache-for-a-repository-using-a-cache-id | ||
actions: write | ||
contents: read | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
- name: Cleanup | ||
run: | | ||
gh extension install actions/gh-actions-cache | ||
REPO=${{ github.repository }} | ||
BRANCH=refs/pull/${{ github.event.pull_request.number }}/merge | ||
echo "Fetching list of cache key" | ||
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 ) | ||
## Setting this to not fail the workflow while deleting cache keys. | ||
set +e | ||
echo "Deleting caches..." | ||
for cacheKey in $cacheKeysForPR | ||
do | ||
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm | ||
done | ||
echo "Done" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 @@ | ||
name: "CI-PULL-REQUEST" | ||
|
||
on: [pull_request] | ||
jobs: | ||
pre-commit: | ||
uses: ./.github/workflows/pre-commit.yml | ||
secrets: inherit | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
phan: | ||
uses: ./.github/workflows/phan.yml | ||
secrets: inherit | ||
needs: [pre-commit] | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
phpstan: | ||
uses: ./.github/workflows/phpstan.yml | ||
secrets: inherit | ||
needs: [pre-commit, phan] | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
#windows-ci: | ||
# needs: [pre-commit, phan, phpstan] | ||
# secrets: inherit | ||
# uses: ./.github/workflows/windows-ci.yml | ||
# with: | ||
# gh_event: ${{ github.event_name }} | ||
gh-travis: # Runs travis script on github runner (not on travis) | ||
if: false | ||
# needs: [pre-commit, phan] | ||
# needs: [windows-ci] | ||
secrets: inherit | ||
uses: ./.github/workflows/gh-travis.yml | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
|
||
# Note (not tested, from https://github.com/orgs/community/discussions/38361) | ||
# To cancel jobs if one failes, the following action may help | ||
# - if: "failure()" | ||
# uses: "andymckay/[email protected]" |
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 @@ | ||
name: "CI-PUSH" | ||
|
||
on: [push] | ||
jobs: | ||
pre-commit: | ||
uses: ./.github/workflows/pre-commit.yml | ||
secrets: inherit | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
phan: | ||
uses: ./.github/workflows/phan.yml | ||
secrets: inherit | ||
needs: [pre-commit] | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
phpstan: | ||
uses: ./.github/workflows/phpstan.yml | ||
secrets: inherit | ||
needs: [pre-commit, phan] | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
windows-ci: | ||
needs: [pre-commit, phan, phpstan] | ||
secrets: inherit | ||
uses: ./.github/workflows/windows-ci.yml | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
gh-travis: # Runs travis script on github runner (not on travis) | ||
if: false | ||
# needs: [pre-commit, phan] | ||
# needs: [windows-ci] | ||
secrets: inherit | ||
uses: ./.github/workflows/gh-travis.yml | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
|
||
# Note (not tested, from https://github.com/orgs/community/discussions/38361) | ||
# To cancel jobs if one failes, the following action may help | ||
# - if: "failure()" | ||
# uses: "andymckay/[email protected]" |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
# This runs a travis script inside a github runner | ||
name: Travis | ||
# Controls when the workflow will run | ||
on: | ||
# workflow called by the parent workflow ci.yml | ||
workflow_call: | ||
inputs: | ||
gh_event: | ||
required: true | ||
type: string | ||
# can run job manually | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: travis-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref | ||
}} | ||
cancel-in-progress: true | ||
env: | ||
gh_event: ${{ inputs.gh_event || github.event_name }} | ||
GITHUB_JSON: ${{ toJSON(github) }} # Helps in debugging Github Action | ||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job | ||
gh-travis: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
# matrix: | ||
# php-version: | ||
# # PHPStan requires PHP >= 7.2. | ||
# #- "7.2" | ||
# - "8.2" | ||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Checkout travis file | ||
uses: actions/checkout@v4 | ||
- name: Run .travis.yml build script | ||
uses: ktomk/run-travis-yml@v1 | ||
with: | ||
# run-job: travis # name of a job in travis file | ||
allow-failure: false | ||
# file: .travis.yml | ||
# steps: | # Default: setup, before_install, install, before_script, script, after_script, before_deploy | ||
# install | ||
# script | ||
# env: | ||
# TRAVIS_PHP_VERSION: ${{ matrix.php-version }} |
Oops, something went wrong.