From ceaf20a21f6870dfc57a4b49b13b2212f4cc9329 Mon Sep 17 00:00:00 2001 From: Shettland Date: Tue, 17 Sep 2024 15:57:39 +0200 Subject: [PATCH 1/3] deleted deprecated auto-release --- .github/workflows/pypi_publish.yml | 39 ------------------------------ 1 file changed, 39 deletions(-) diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 871b7235..68880657 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -47,42 +47,3 @@ jobs: path: dist/ - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - - github-release: - name: Sign dist with Sigstore and upload to GitHub Release - needs: - - publish-to-pypi - runs-on: ubuntu-latest - permissions: - contents: write - id-token: write - steps: - - name: Download all the dists - uses: actions/download-artifact@v4 - with: - name: python-package-distributions - path: dist/ - - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v2.1.1 - with: - inputs: >- - ./dist/*.tar.gz - ./dist/*.whl - - name: Create GitHub Release - env: - GITHUB_TOKEN: ${{ github.token }} - run: >- - gh release create - '${{ github.ref_name }}' - --repo '${{ github.repository }}' - --notes "" - - name: Upload artifact signatures to GitHub Release - env: - GITHUB_TOKEN: ${{ github.token }} - # Upload to GitHub Release using the `gh` CLI. - # `dist/` contains the built packages, and the - # sigstore-produced signatures and certificates. - run: >- - gh release upload - '${{ github.ref_name }}' dist/** - --repo '${{ github.repository }}' \ No newline at end of file From e3dac35d06c1408fdf51caadede4f86c1177de6d Mon Sep 17 00:00:00 2001 From: Shettland Date: Tue, 17 Sep 2024 15:58:02 +0200 Subject: [PATCH 2/3] Removed duplicated tests with pushes after PR --- .github/workflows/test_sftp_handle.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test_sftp_handle.yml b/.github/workflows/test_sftp_handle.yml index a43a670f..4dd0364d 100644 --- a/.github/workflows/test_sftp_handle.yml +++ b/.github/workflows/test_sftp_handle.yml @@ -1,8 +1,6 @@ name: test_sftp_handle on: - push: - branches: "**" pull_request_target: types: [opened, reopened, synchronize, closed] branches: "**" From 15857e6ede32364d18d17455c87aff17179f8c0e Mon Sep 17 00:00:00 2001 From: Shettland Date: Tue, 17 Sep 2024 16:02:24 +0200 Subject: [PATCH 3/3] Updated CHANGELOG with actions fixes --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c719d95..e6d70f45 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [1.X.Xdev] - 2024-XX-XX : https://github.com/BU-ISCIII/relecov-tools/releases/tag/1.X.X +## [1.2.0dev] - 2024-XX-XX : https://github.com/BU-ISCIII/relecov-tools/releases/tag/1.2.0 ### Credits @@ -20,6 +20,9 @@ Code contributions to the hotfix: #### Removed +- Removed duplicated tests with pushes after PR was merged in test_sftp-handle [#312](https://github.com/BU-ISCIII/relecov-tools/pull/312) +- Deleted deprecated auto-release in pypi_publish as it does not work with tag pushes anymore [#312](https://github.com/BU-ISCIII/relecov-tools/pull/312) + ### Requirements ## [1.1.0] - 2024-09-13 : https://github.com/BU-ISCIII/relecov-tools/releases/tag/1.1.0