From 8375bd7604dcbb00b7f62d7d7e035af7041f628a Mon Sep 17 00:00:00 2001
From: Pavel <win10@list.ru>
Date: Mon, 4 Oct 2021 01:51:32 +0400
Subject: [PATCH] Fixed github actions logic.

Signed-off-by: Pavel <win10@list.ru>
---
 .github/workflows/release.yml | 4 ++--
 .github/workflows/test.yml    | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c2492d3..481840a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -2,8 +2,8 @@ name: Release python package
 
 on:
   push:
-    branches:
-    - master
+    tags:
+      - "*"
 
 jobs:
   deploy:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index d084d75..f3e8a1e 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -4,6 +4,8 @@ on:
   push:
     branches-ignore:
       - master
+    tags-ignore:
+      - "*"
 
 jobs:
   pytest:
-- 
GitLab