From 9a0ac88dd8cf9ec1f61cab4fefa38574ce91f4ac Mon Sep 17 00:00:00 2001 From: Mateusz Kowalkowski Date: Sat, 2 Dec 2023 17:55:28 +0100 Subject: [PATCH] Removed unnecessary action. Now tests are run for every push, while Dockerhub release is initiated any time something is commited to main (so either direct commit or merge from pull request, but only during the merge commit) --- .github/workflows/{push_dockerhub.yml => main.yml} | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) rename .github/workflows/{push_dockerhub.yml => main.yml} (93%) diff --git a/.github/workflows/push_dockerhub.yml b/.github/workflows/main.yml similarity index 93% rename from .github/workflows/push_dockerhub.yml rename to .github/workflows/main.yml index 1fdc1c4..336b3e8 100644 --- a/.github/workflows/push_dockerhub.yml +++ b/.github/workflows/main.yml @@ -1,15 +1,12 @@ name: Dockerhub Release -# Executed on direct push, or after Pull Request was completed. +# Executed on direct push, or after Pull Request was completed during merge commit to main. # It will push the image to Dockerhub. on: push: branches: - main - pull_request: - types: - - closed jobs: tests: