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 '19.0' of https://github.com/Dolibarr/dolibarr into addH…
…ookPaymentMethod-19
- Loading branch information
Showing
162 changed files
with
1,399 additions
and
521 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Add this tag for any changes for more than 1 line | ||
"Pending analysis of PR (maintenance team)": | ||
min: 1 |
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,21 @@ | ||
name: "Set label for v18" | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
branches: | ||
- "18.0" | ||
push: | ||
branches: | ||
- "18.0" | ||
|
||
jobs: | ||
changed-lines-count-labeler: | ||
runs-on: ubuntu-latest | ||
name: An action for automatically labelling pull requests based on the changed lines count | ||
steps: | ||
- name: Set a label | ||
uses: vkirilichev/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
configuration-path: .github/changed-lines-count-labeler.yml | ||
continue-on-error: true |
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,45 @@ | ||
name: Set reviewer for v18 | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
branches: | ||
- "18.0" | ||
push: | ||
branches: | ||
- "18.0" | ||
|
||
jobs: | ||
pr18: | ||
runs-on: ubuntu-latest | ||
|
||
#env: | ||
# GH_TOKEN: ${{ github.token }} | ||
# GH_TOKENS: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install GitHub CLI | ||
run: | | ||
sudo apt update | ||
sudo apt install gh -y | ||
- name: Assign reviewer | ||
env: | ||
#REVIEWER: "eldy,lvessiller-opendsi,rycks" # Remplacez par le nom d'utilisateur GitHub du reviewer | ||
REVIEWER: "rycks" # Remplacez par le nom d'utilisateur GitHub du reviewer | ||
run: | | ||
echo "Run action by ${{ github.actor }}" | ||
echo "github.token=${{ github.token }}" | ||
echo "secrets.GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" | ||
echo "GITHUB_EVENT_PATH=$GITHUB_EVENT_PATH" | ||
echo Get the pr_number | ||
pr_number=$(jq --raw-output .number < $GITHUB_EVENT_PATH) | ||
echo "pr_number=$pr_number" | ||
echo Authenticate login gh | ||
gh auth login --with-token <<< "${{ secrets.GITHUB_TOKEN }}" | ||
gh auth setup-git | ||
echo Set the reviewer | ||
gh pr edit $pr_number --add-reviewer "$REVIEWER" | ||
continue-on-error: true |
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,38 @@ | ||
name: Test github actions | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
branches: | ||
- "18.0" | ||
|
||
env: | ||
ENVGHT: ${{ secrets.GITHUB_TOKEN }} | ||
ENVGHU: ${{ github.token }} | ||
VARAAA: ${{ vars.AAA }} | ||
SECBBB: ${{ secrets.BBB }} | ||
VARREPORGCCC: ${{ vars.CCC }} | ||
ENVFIX: "abc" | ||
|
||
jobs: | ||
testjob: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Log | ||
run: | | ||
echo "Run action by ${{ github.actor }}" | ||
echo "github.token=${{ github.token }}" | ||
echo "secrets.GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" | ||
echo "GITHUB_EVENT_PATH=$GITHUB_EVENT_PATH" | ||
echo "repo-token: ${{secrets.GITHUB_TOKEN}}" | ||
echo "variable org: ${{vars.AAA}}" | ||
echo "env prg: ${{env.AAA}}" | ||
echo "env prg: ${{env.VARAAA}}" | ||
echo "secret org: ${{secrets.BBB}}" | ||
echo "variable repository of orga: ${{vars.CCC}}" | ||
echo "ENVGHT: ${{env.ENVGHT}}" | ||
echo "ENVGHU: ${{env.ENVGHU}}" | ||
echo "VARAAA: ${{vars.AAA}}" | ||
echo "ENVAAA: ${{env.VARAAA}}" | ||
echo "VARREPORGCCC: ${{env.VARREPORGCCC}}" | ||
echo "ENVFIX: ${{env.ENVFIX}}" |
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
Oops, something went wrong.