From 7832e17386c865f624b9c3e2d7a2b795bbbde07c Mon Sep 17 00:00:00 2001 From: Rachael Stickland <50215726+RayStick@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:11:07 +0100 Subject: [PATCH 1/5] add files --- .github/labeler.yml | 11 +++++++++++ .github/workflows/auto-author-assign.yml | 17 +++++++++++++++++ .github/workflows/auto-label.yml | 15 +++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/auto-author-assign.yml create mode 100644 .github/workflows/auto-label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..2d81307 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,11 @@ +Documentation: + - changed-files: + - any-glob-to-any-file: ['docs/*', '.readthedocs.yml', 'README.md', 'LICENSE', 'MANIFEST.in'] + +Internal: + - changed-files: + - any-glob-to-any-file: ['.*', 'codecov.yml', 'setup.cfg', 'setup.py', 'versioneer.py', '.github/*', '.circleci/*', 'phys2denoise/_version.py', 'requirements.txt', 'pyproject.toml'] + +Testing: + - changed-files: + - any-glob-to-any-file: ['phys2denoise/tests/*', '.circleci/*'] diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml new file mode 100644 index 0000000..8b102ae --- /dev/null +++ b/.github/workflows/auto-author-assign.yml @@ -0,0 +1,17 @@ +name: Auto Author Assign + +on: + issues: + types: [ opened, reopened ] + pull_request_target: + types: [ opened, reopened ] + +permissions: + pull-requests: write + issues: write + +jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - uses: toshimaru/auto-author-assign@v2.1.0 diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml new file mode 100644 index 0000000..a4c3f22 --- /dev/null +++ b/.github/workflows/auto-label.yml @@ -0,0 +1,15 @@ +name: auto-label +concurrency: + group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }} + cancel-in-progress: true +on: # yamllint disable-line rule:truthy + pull_request_target + +jobs: + pr: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 From 68816262db8c4af0dea92961699c1a1c4da82fe9 Mon Sep 17 00:00:00 2001 From: Stefano Moia Date: Mon, 15 Jul 2024 19:56:33 +0200 Subject: [PATCH 2/5] feat: Update workflows and setup --- .github/workflows/auto-release.yml | 4 ++-- .github/workflows/python-publish.yml | 33 ++++++++++++++++++++++++++++ .github/workflows/pythonpublish.yml | 32 --------------------------- setup.cfg | 9 ++++---- 4 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 .github/workflows/python-publish.yml delete mode 100644 .github/workflows/pythonpublish.yml diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 4a36dfb..6c9f5c1 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -10,7 +10,7 @@ on: jobs: auto-release: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 # Set skip ci to avoid loops if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" # Set bash as default shell for jobs @@ -19,7 +19,7 @@ jobs: shell: bash steps: - name: Checkout source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Fetch all history for all branches and tags fetch-depth: 0 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml new file mode 100644 index 0000000..03e58b5 --- /dev/null +++ b/.github/workflows/python-publish.yml @@ -0,0 +1,33 @@ +# This workflows will upload a Python Package using Twine when a release is created +# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries + +name: Upload Python Package + +on: + release: + types: [created] + +jobs: + deploy: + + runs-on: ubuntu-22.04 + + steps: + - name: Checkout source + uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.11 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Build and publish + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py sdist bdist_wheel + twine check dist/* + twine upload dist/* diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml deleted file mode 100644 index 97bb890..0000000 --- a/.github/workflows/pythonpublish.yml +++ /dev/null @@ -1,32 +0,0 @@ -# This workflows will upload a Python Package using Twine when a release is created -# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries - -name: Upload Python Package - -on: - release: - types: [created] - -jobs: - deploy: - - runs-on: ubuntu-20.04 - - steps: - - name: Checkout source - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - python -m python setup.py sdist bdist_wheel - python -m twine upload dist/* diff --git a/setup.cfg b/setup.cfg index 8b89352..5f6b546 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,15 +2,14 @@ name = phys2denoise url = https://github.com/physiopy/phys2denoise download_url = https://github.com/physiopy/phys2denoise -author = phys2denoise developers -maintainer = Stefano Moia +author = The Physiopy Community +maintainer = The Physiopy Community maintainer_email = physiopy.community@gmail.com classifiers = - Development Status :: 1 - Planning + Development Status :: 3 - Alpha Intended Audience :: Science/Research License :: OSI Approved :: Apache Software License - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3 license = Apache-2.0 description = Python library to convert physiological data files into BIDS format long_description = file:README.md From 987efcc03e5f87c960942e456904c6950c8c4f0a Mon Sep 17 00:00:00 2001 From: Stefano Moia Date: Mon, 15 Jul 2024 17:57:34 +0000 Subject: [PATCH 3/5] Update CHANGELOG.md [skip ci] --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 925c648..05c3a8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,31 @@ +# 0.4.0 (Mon Jul 15 2024) + +:tada: This release contains work from a new contributor! :tada: + +Thank you, Nirjal Bhurtel ([@erwinschrodinger1](https://github.com/erwinschrodinger1)), for all your work! + +#### πŸš€ Enhancement + +- feat: Update workflows and setup ([@smoia](https://github.com/smoia)) + +#### ⚠️ Pushed to `master` + +- int:Update more action versions ([@smoia](https://github.com/smoia)) +- doc: fix changelog ([@smoia](https://github.com/smoia)) + +#### 🏠 Internal + +- Fix matplotlib typo in requirement.txt [#50](https://github.com/physiopy/phys2denoise/pull/50) ([@erwinschrodinger1](https://github.com/erwinschrodinger1)) +- Update configuration [#46](https://github.com/physiopy/phys2denoise/pull/46) ([@pre-commit-ci[bot]](https://github.com/pre-commit-ci[bot]) [@smoia](https://github.com/smoia)) + +#### Authors: 3 + +- [@pre-commit-ci[bot]](https://github.com/pre-commit-ci[bot]) +- Nirjal Bhurtel ([@erwinschrodinger1](https://github.com/erwinschrodinger1)) +- Stefano Moia ([@smoia](https://github.com/smoia)) + +--- + # 0.3.1 (Mon Aug 28 2023) #### πŸš€ Enhancement From a362033dd615cf75785bd78d3b8461dd0e5f5e14 Mon Sep 17 00:00:00 2001 From: Stefano Moia Date: Mon, 15 Jul 2024 17:57:53 +0000 Subject: [PATCH 4/5] Update contributors [skip ci] --- README.md | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 58eefe9..88ba380 100644 --- a/README.md +++ b/README.md @@ -26,22 +26,20 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d - - - - - - - - - - - - - - - - + + + + + + + + + + + + + +
Cesar Caballero Gaudes
Cesar Caballero Gaudes

πŸ’» πŸ€”
RaphaΓ«l Fournier
RaphaΓ«l Fournier

πŸ’» πŸ““ πŸ“–
Tomas Lenc
Tomas Lenc

πŸ› ⚠️
rzlim08
rzlim08

πŸ’» ⚠️
Ross Markello
Ross Markello

πŸš‡ πŸ§‘β€πŸ«
Stefano Moia
Stefano Moia

πŸ”£ πŸš‡ πŸ“† πŸ’» πŸ€” πŸ“– πŸ§‘β€πŸ«
Alice Patin
Alice Patin

πŸ’»
Taylor Salo
Taylor Salo

πŸ’» πŸ€” πŸ‘€
InΓ©s ChavarrΓ­a
InΓ©s ChavarrΓ­a

πŸš‡
Kristina Zvolanek
Kristina Zvolanek

πŸš‡ πŸ‘€ πŸ““

Cesar Caballero Gaudes

πŸ’» πŸ€”

RaphaΓ«l Fournier

πŸ’» πŸ““ πŸ“–

Tomas Lenc

πŸ› ⚠️

rzlim08

πŸ’» ⚠️

Ross Markello

πŸš‡ πŸ§‘β€πŸ«

Stefano Moia

πŸ”£ πŸš‡ πŸ“† πŸ’» πŸ€” πŸ“– πŸ§‘β€πŸ«

Alice Patin

πŸ’»

Taylor Salo

πŸ’» πŸ€” πŸ‘€

InΓ©s ChavarrΓ­a

πŸš‡

Kristina Zvolanek

πŸš‡ πŸ‘€ πŸ““
From b2150a78f2a6ac004039d2a33b0bfb592998fea4 Mon Sep 17 00:00:00 2001 From: Rachael Stickland <50215726+RayStick@users.noreply.github.com> Date: Tue, 16 Jul 2024 12:07:12 +0100 Subject: [PATCH 5/5] This is an empty commit