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 'develop' into allow-deductible-tax-accounting
- Loading branch information
Showing
8,119 changed files
with
659,685 additions
and
424,903 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
File renamed without changes.
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,41 @@ | ||
name: "CI" | ||
|
||
on: [push, 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] | ||
with: | ||
gh_event: ${{ github.event_name }} | ||
windows-ci: | ||
needs: [pre-commit, phpstan, phan] | ||
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 fails, the following action may help | ||
# - if: "failure()" | ||
# uses: "andymckay/[email protected]" |
Oops, something went wrong.