From 41e0ef66b9ba4fe9617456113ef85e2b3613fe0e Mon Sep 17 00:00:00 2001 From: Jules Lasne Date: Fri, 9 Feb 2024 10:54:14 +0100 Subject: [PATCH] CI/CD: Removed failing step on lint commits workflow --- .github/workflows/lint-commits.yml | 13 ------------- shellhub/__init__.py | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/lint-commits.yml b/.github/workflows/lint-commits.yml index b830952..9f5f1d3 100644 --- a/.github/workflows/lint-commits.yml +++ b/.github/workflows/lint-commits.yml @@ -74,16 +74,3 @@ jobs: if (errors.length > 0) { core.setFailed(`One or more of the commits in this PR do not match the code submission policy:\n\n${errors.join("\n")}`); } - - - name: Comment on PR - uses: actions/github-script@v7 - if: ${{ failure() && !github.event.pull_request.draft }} - with: - github-token: ${{ secrets.GH_ACCESS_KEY }} - script: | - github.rest.issues.createComment({ - issue_number: context.issue.number, - owner: 'Seluj78', - repo: 'shellhub-python', - body: 'Hello!\n\nOne or more of the commit messages in this PR do not match the code style. Please check the `lint_commits` CI job for more details on which commits were flagged and why.\nPlease do not close this PR and open another, instead modify your commit message(s) with [git commit --amend](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message) and force push those changes to update this PR.' - }) \ No newline at end of file diff --git a/shellhub/__init__.py b/shellhub/__init__.py index de222d2..e7ca9b2 100644 --- a/shellhub/__init__.py +++ b/shellhub/__init__.py @@ -1,5 +1,5 @@ # Increment versions here according to SemVer -__version__ = "0.2.3" +__version__ = "0.2.4" from .models.device import ShellHubDevice, ShellHubDeviceInfo from .models.base import ShellHub