From 8d2a507aa9553ee84d388fabca4522ca04b24b48 Mon Sep 17 00:00:00 2001 From: Christoph Kuhnke Date: Tue, 21 May 2024 10:25:38 +0200 Subject: [PATCH] #19: Removed slack notifications for events other than schedule (#48) * #19: Removed slack notifications for events other than schedule * Marked file version.py as generated --- .gitattributes | 3 ++- .github/workflows/check-api-outdated.yml | 4 ++-- doc/changes/unreleased.md | 6 ++++++ pyproject.toml | 2 +- version.py | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index acd6c6f..226991f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ -/exasol/saas/client/openapi/** linguist-generated +/exasol/saas/client/openapi/** linguist-generated +/version.py linguist-generated diff --git a/.github/workflows/check-api-outdated.yml b/.github/workflows/check-api-outdated.yml index 1527aac..38818c3 100644 --- a/.github/workflows/check-api-outdated.yml +++ b/.github/workflows/check-api-outdated.yml @@ -16,7 +16,7 @@ on: jobs: - check-api-outdated: + check-api-outdated: name: Check if OpenAPI Generated From JSON is Outdated runs-on: ubuntu-latest strategy: @@ -35,7 +35,7 @@ jobs: run: poetry run nox -s check-api-outdated - name: Report Failure Status to Slack Channel - if: ${{ failure() }} + if: ${{ failure() && github.event_name == 'schedule' }} uses: ravsamhq/notify-slack-action@v2 with: status: ${{ job.status }} diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 79e701b..48195a3 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1 +1,7 @@ # Unreleased + +This release removes slack notifications for events other than `schedule`. + +## Refactoring + +* #19: Removed slack notifications for events other than `schedule` diff --git a/pyproject.toml b/pyproject.toml index de6e4a5..6ce77d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "exasol-saas-api" -version = "0.5.0" +version = "0.6.0" description = "API enabling Python applications connecting to Exasol database SaaS instances and using their SaaS services" packages = [ {include = "exasol"}, ] authors = [ "Christoph Kuhnke " ] diff --git a/version.py b/version.py index ca9160c..93ad63e 100644 --- a/version.py +++ b/version.py @@ -5,6 +5,6 @@ # Do not edit this file manually! # If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`. MAJOR = 0 -MINOR = 5 +MINOR = 6 PATCH = 0 VERSION = f"{MAJOR}.{MINOR}.{PATCH}"