From 54fb85bd432b4606185602c810c17f70aad7d2c0 Mon Sep 17 00:00:00 2001 From: shaver007 Date: Wed, 3 Dec 2025 23:48:00 +0200 Subject: [PATCH 1/5] ci:Verify if workflow trigger on pull request and only when specific files are changed --- app/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/app.py b/app/app.py index 67e0180c0..b9edc3ba5 100644 --- a/app/app.py +++ b/app/app.py @@ -12,3 +12,5 @@ def hello_world(): if __name__ == "__main__": app.run(port=os.environ.get("PORT", 3000), host="0.0.0.0") + +#Test that lint is executed on pull request and Python files change. \ No newline at end of file From 8d69ee30844fc670b0f399de1ef8bcebf4b80e29 Mon Sep 17 00:00:00 2001 From: shaver007 Date: Wed, 3 Dec 2025 23:53:09 +0200 Subject: [PATCH 2/5] ci:Verify workflow trigger on PR and files change - verified --- app/app.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/app.py b/app/app.py index b9edc3ba5..ea2996f7f 100644 --- a/app/app.py +++ b/app/app.py @@ -4,13 +4,9 @@ app = Flask(__name__) - @app.route("/") def hello_world(): return "Hello, World!" - if __name__ == "__main__": - app.run(port=os.environ.get("PORT", 3000), host="0.0.0.0") - -#Test that lint is executed on pull request and Python files change. \ No newline at end of file + app.run(port=os.environ.get("PORT", 3000), host="0.0.0.0") \ No newline at end of file From 4eb8c9c03917dd4d9b388ab0d7c0c22c9513998d Mon Sep 17 00:00:00 2001 From: shaver007 Date: Wed, 3 Dec 2025 23:55:27 +0200 Subject: [PATCH 3/5] ci:Verify workflow trigger on PR and files change - revert file --- app/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/app.py b/app/app.py index ea2996f7f..635682372 100644 --- a/app/app.py +++ b/app/app.py @@ -4,9 +4,11 @@ app = Flask(__name__) + @app.route("/") def hello_world(): return "Hello, World!" + if __name__ == "__main__": app.run(port=os.environ.get("PORT", 3000), host="0.0.0.0") \ No newline at end of file From bc6878965a1a19656f32b05d7d31727aa81e09c3 Mon Sep 17 00:00:00 2001 From: shaver007 Date: Wed, 3 Dec 2025 23:57:32 +0200 Subject: [PATCH 4/5] ci:Verify workflow trigger on PR and files change - revert missing line --- app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index 635682372..67e0180c0 100644 --- a/app/app.py +++ b/app/app.py @@ -11,4 +11,4 @@ def hello_world(): if __name__ == "__main__": - app.run(port=os.environ.get("PORT", 3000), host="0.0.0.0") \ No newline at end of file + app.run(port=os.environ.get("PORT", 3000), host="0.0.0.0") From 1457b0bad9920a839cdbaea9db9c3e971b49c658 Mon Sep 17 00:00:00 2001 From: shaver007 Date: Thu, 4 Dec 2025 00:00:12 +0200 Subject: [PATCH 5/5] ci:Verify workflow on PR and files change - Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4e20cfb54..624b2e2ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,4 @@ RUN useradd appuser \ && chown -R appuser:appuser /app USER appuser -CMD ["python3", "app.py"] \ No newline at end of file +CMD ["python3", "app.py"]