From a215a21e52408c25e59d49a55a5a079ea516e036 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Fri, 15 Mar 2024 10:32:02 +0000 Subject: [PATCH 1/3] Add dependabot config --- .github/dependabot.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..ce0d77c8e --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +--- +version: 2 +updates: +# Maintain dependencies for GitHub Actions + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly + groups: + gha-dependencies: + patterns: + - '*' From 67a0b9effcdf283207cc40cd9c4cc89fcc02d686 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Fri, 15 Mar 2024 10:32:21 +0000 Subject: [PATCH 2/3] Manual release workflow --- .github/workflows/release.yml | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0540530f5..51cb3b233 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,24 +2,23 @@ name: Release on: - push: - tags: - - v* + pull_request: branches: - - release/* + - release/** + release: jobs: - build: + test-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.10' @@ -39,23 +38,3 @@ jobs: with: name: release path: dist/ - - publish: - - needs: [build] - runs-on: ubuntu-latest - - steps: - - uses: actions/download-artifact@v4 - name: Download distribution artifact - with: - name: release - path: dist/ - - - uses: softprops/action-gh-release@v0.1.14 - name: Create release - if: startsWith(github.ref, 'refs/tags/v') - with: - files: | - dist/* - generate_release_notes: true From 18e9dffda3bb63e72a69026c4a643d983f71c58d Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Fri, 15 Mar 2024 10:33:06 +0000 Subject: [PATCH 3/3] Remove release.yml entirely --- .github/workflows/release.yml | 40 ----------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 51cb3b233..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,40 +0,0 @@ ---- -name: Release - -on: - pull_request: - branches: - - release/** - release: - -jobs: - - test-build: - - runs-on: ubuntu-latest - - steps: - - - uses: actions/checkout@v4 - - - name: Set up Python 3.10 - uses: actions/setup-python@v5 - with: - python-version: '3.10' - - - name: Install pypa/build - run: python -m pip install build - - - name: Build a binary wheel for the aiidalab_qe module - run: >- - python -m - build - --sdist - --wheel - --outdir dist/ - - - name: Upload distribution artifact - uses: actions/upload-artifact@v4 - with: - name: release - path: dist/