From e88f66ac592d9d43bc782866f6800d9b98afa163 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Tue, 21 May 2024 23:17:58 +0700 Subject: [PATCH 1/9] feat: add gitlab default issue, confidential issue and merge request for test webhook --- config/jsons/gitlab-events.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/jsons/gitlab-events.json b/config/jsons/gitlab-events.json index bd7f573..68e9b35 100644 --- a/config/jsons/gitlab-events.json +++ b/config/jsons/gitlab-events.json @@ -1,7 +1,9 @@ { "push": true, "tag_push": true, + "confidential_issue": true, "issue": { + "default": true, "open": true, "close": true, "reopen": false, @@ -14,6 +16,7 @@ "snippet": false }, "merge_request": { + "default": true, "open": true, "close": true, "reopen": false, From 1c22c499ddd94a6d1a79c905ba8469dec8ec56ae Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Wed, 22 May 2024 01:59:54 +0700 Subject: [PATCH 2/9] fix: remove deprecated config option --- phpstan.neon.dist | 1 - 1 file changed, 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 5bba7cc..d291033 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -4,4 +4,3 @@ parameters: - src - config tmpDir: build/phpstan - checkMissingIterableValueType: false From 86a3dd4d43c5e8ae8cc091e5c47db5efe9194ee0 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Wed, 22 May 2024 02:02:28 +0700 Subject: [PATCH 3/9] revert: remove deprecated config option --- phpstan.neon.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index d291033..5bba7cc 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -4,3 +4,4 @@ parameters: - src - config tmpDir: build/phpstan + checkMissingIterableValueType: false From 7d72f8a819d70bcdfb9d3651866e7d56328ae8f2 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Wed, 22 May 2024 20:22:46 +0700 Subject: [PATCH 4/9] feat: add default pipeline config for gitlab --- config/jsons/gitlab-events.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/jsons/gitlab-events.json b/config/jsons/gitlab-events.json index 68e9b35..a7d051f 100644 --- a/config/jsons/gitlab-events.json +++ b/config/jsons/gitlab-events.json @@ -37,5 +37,8 @@ "create": true, "update": false, "delete": true + }, + "pipeline": { + "default": true, } } From 077c05b0642573a1eb899da9dad077ead8a52241 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Wed, 22 May 2024 20:23:45 +0700 Subject: [PATCH 5/9] feat: add default pipeline config for gitlab --- config/jsons/gitlab-events.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/jsons/gitlab-events.json b/config/jsons/gitlab-events.json index a7d051f..8ea3683 100644 --- a/config/jsons/gitlab-events.json +++ b/config/jsons/gitlab-events.json @@ -39,6 +39,6 @@ "delete": true }, "pipeline": { - "default": true, + "default": true } } From 6c497fc9df16e90b68633c89e7f477e5f2723dc8 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Wed, 22 May 2024 21:24:11 +0700 Subject: [PATCH 6/9] fix: update default pipeline config for gitlab --- config/jsons/gitlab-events.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/jsons/gitlab-events.json b/config/jsons/gitlab-events.json index 8ea3683..fe082b5 100644 --- a/config/jsons/gitlab-events.json +++ b/config/jsons/gitlab-events.json @@ -38,7 +38,5 @@ "update": false, "delete": true }, - "pipeline": { - "default": true - } + "pipeline": true } From 0cf130c8b8745a4f0a7b0f3d2beaa01c5c1a916c Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Thu, 23 May 2024 01:58:06 +0700 Subject: [PATCH 7/9] fix: update default job config for gitlab --- config/jsons/gitlab-events.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/jsons/gitlab-events.json b/config/jsons/gitlab-events.json index fe082b5..64ec44c 100644 --- a/config/jsons/gitlab-events.json +++ b/config/jsons/gitlab-events.json @@ -38,5 +38,6 @@ "update": false, "delete": true }, - "pipeline": true + "pipeline": true, + "job": true } From b7ccd9f9ee19135d8871a5b90958735f2d229865 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Thu, 23 May 2024 02:06:35 +0700 Subject: [PATCH 8/9] fix: set new condition to show job gitlab event --- config/jsons/gitlab-events.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/jsons/gitlab-events.json b/config/jsons/gitlab-events.json index 64ec44c..df95fa1 100644 --- a/config/jsons/gitlab-events.json +++ b/config/jsons/gitlab-events.json @@ -39,5 +39,5 @@ "delete": true }, "pipeline": true, - "job": true + "job": false } From f18fb5b6d89b3636c7dec5ec6a753a04d8b5e9ba Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Thu, 23 May 2024 02:35:36 +0700 Subject: [PATCH 9/9] fix: ensure dependent packages to install --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c797dad..173cc12 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "eleirbag89/telegrambotphp": "^1.4", "guzzlehttp/guzzle": "^7.8", "symfony/http-foundation": "^6.4|^7.0", - "vlucas/phpdotenv": "^5.6" + "vlucas/phpdotenv": "^5.4" }, "require-dev": { "friendsofphp/php-cs-fixer": "^v3.0",