From fe97f540a038d446d6969f9e64ad4b5b3cf07a40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 18 Nov 2023 09:32:41 +0100 Subject: [PATCH 1/4] Fix CI being blocked --- .gitea/workflows/build-docker.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitea/workflows/build-docker.yml b/.gitea/workflows/build-docker.yml index 4cca9cb..6b21c2e 100644 --- a/.gitea/workflows/build-docker.yml +++ b/.gitea/workflows/build-docker.yml @@ -8,7 +8,6 @@ on: jobs: build-and-push: - needs: test runs-on: ubuntu-latest steps: - name: Checkout -- 2.40.1 From f36e69236108461cdce4a501fec940c2f4f50fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 18 Nov 2023 09:33:10 +0100 Subject: [PATCH 2/4] Do not run for pull requests --- .gitea/workflows/build-docker.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitea/workflows/build-docker.yml b/.gitea/workflows/build-docker.yml index 6b21c2e..fdc4839 100644 --- a/.gitea/workflows/build-docker.yml +++ b/.gitea/workflows/build-docker.yml @@ -3,8 +3,6 @@ name: Django CI/CD on: push: branches: [ main ] - pull_request: - branches: [ main ] jobs: build-and-push: -- 2.40.1 From a7293c659db269823d5057e876e82004d03b436f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 18 Nov 2023 09:33:31 +0100 Subject: [PATCH 3/4] CI: Ignore README.md --- .gitea/workflows/build-docker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build-docker.yml b/.gitea/workflows/build-docker.yml index fdc4839..a702306 100644 --- a/.gitea/workflows/build-docker.yml +++ b/.gitea/workflows/build-docker.yml @@ -3,6 +3,7 @@ name: Django CI/CD on: push: branches: [ main ] + paths-ignore: [ 'README.md' ] jobs: build-and-push: -- 2.40.1 From 555608d8c605061a64e1e2a71d188307ddd37475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 18 Nov 2023 09:52:17 +0100 Subject: [PATCH 4/4] Fix syntax --- .gitea/workflows/build-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-docker.yml b/.gitea/workflows/build-docker.yml index a702306..443ff9f 100644 --- a/.gitea/workflows/build-docker.yml +++ b/.gitea/workflows/build-docker.yml @@ -3,7 +3,7 @@ name: Django CI/CD on: push: branches: [ main ] - paths-ignore: [ 'README.md' ] + paths-ignore: [ 'README.md' ] jobs: build-and-push: -- 2.40.1