From 9e1f782b182fc6434b95e105763800a2e9228ce3 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Sat, 29 Jun 2024 22:39:35 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20klaasn?= =?UTF-8?q?icolaas/github-config=20(#529)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🔄 synced local '.devcontainer/' with remote 'python_package/.devcontainer' * 🔄 synced local '.github/' with remote 'github/' * Remove old file --- .devcontainer/devcontainer.json | 3 ++- .github/release-drafter.yml | 2 ++ .github/workflows/pr-labels.yaml | 7 ++----- .github/workflows/{labels.yaml => sync-labels.yaml} | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{labels.yaml => sync-labels.yaml} (100%) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index efd6e45..e527ec5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -21,6 +21,7 @@ ], "settings": { "[python]": { + "editor.defaultFormatter": "charliermarsh.ruff", "editor.codeActionsOnSave": { "source.fixAll": true, "source.organizeImports": true @@ -33,7 +34,7 @@ "coverage-gutters.xmlname": "coverage.xml", "python.analysis.extraPaths": ["${workspaceFolder}/src"], "python.defaultInterpreterPath": ".venv/bin/python", - "python.formatting.provider": "black", + "python.formatting.provider": "ruff", "python.linting.enabled": true, "python.linting.mypyEnabled": true, "python.linting.pylintEnabled": true, diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 604e4c5..dac9dad 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -58,6 +58,8 @@ version-resolver: template: | ## What's changed + _To receive a notification on new releases, click on **Watch** > **Custom** > **Releases** on the top._ + $CHANGES **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION diff --git a/.github/workflows/pr-labels.yaml b/.github/workflows/pr-labels.yaml index 7e5619b..fa69d61 100644 --- a/.github/workflows/pr-labels.yaml +++ b/.github/workflows/pr-labels.yaml @@ -12,16 +12,13 @@ on: workflow_call: jobs: - pr_labels: + validate: name: Verify runs-on: ubuntu-latest steps: - name: 🏷 Verify PR has a valid label - uses: jesusvasquez333/verify-pr-label-action@v1.4.0 + uses: klaasnicolaas/action-pr-labels@v2.0.0 with: - pull-request-number: "${{ github.event.pull_request.number }}" - github-token: "${{ secrets.GITHUB_TOKEN }}" valid-labels: >- breaking-change, bugfix, documentation, enhancement, sync, refactor, performance, new-feature, maintenance, ci, dependencies - disable-reviews: true diff --git a/.github/workflows/labels.yaml b/.github/workflows/sync-labels.yaml similarity index 100% rename from .github/workflows/labels.yaml rename to .github/workflows/sync-labels.yaml