diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cd972a0..854069d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,16 +1,16 @@ version: 2 updates: # GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: github-actions + directory: / schedule: - interval: "daily" + interval: daily commit-message: prefix: ⬆ # Python - - package-ecosystem: "pip" - directory: "/" + - package-ecosystem: pip + directory: / schedule: - interval: "daily" + interval: daily commit-message: prefix: ⬆ diff --git a/.github/workflows/generate-client.yml b/.github/workflows/generate-client.yml index 598140f..faeebad 100644 --- a/.github/workflows/generate-client.yml +++ b/.github/workflows/generate-client.yml @@ -21,7 +21,7 @@ jobs: node-version: lts/* - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: "3.10" - name: Install uv uses: astral-sh/setup-uv@v2 with: @@ -41,15 +41,3 @@ jobs: git add frontend/src/client git diff --staged --quiet || git commit -m "✨ Autogenerate frontend client" git push - - # https://github.com/marketplace/actions/alls-green#why - generate-client-alls-green: # This job does nothing and is only used for the branch protection - if: always() - needs: - - generate-client - runs-on: ubuntu-latest - steps: - - name: Decide whether the needed jobs succeeded or failed - uses: re-actors/alls-green@release/v1 - with: - jobs: ${{ toJSON(needs) }} diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml index b41f961..2762cc2 100644 --- a/.github/workflows/latest-changes.yml +++ b/.github/workflows/latest-changes.yml @@ -12,9 +12,9 @@ on: description: PR number required: true debug_enabled: - description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' + description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)" required: false - default: 'false' + default: "false" jobs: latest-changes: @@ -34,7 +34,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} latest_changes_file: ./release-notes.md - latest_changes_header: '## Latest Changes' - end_regex: '^## ' + latest_changes_header: "## Latest Changes" + end_regex: "^## " debug_logs: true - label_header_prefix: '### ' + label_header_prefix: "### " diff --git a/.github/workflows/lint-backend.yml b/.github/workflows/lint-backend.yml index f07d7ca..4e1c93a 100644 --- a/.github/workflows/lint-backend.yml +++ b/.github/workflows/lint-backend.yml @@ -10,7 +10,6 @@ on: - synchronize jobs: - lint-backend: runs-on: ubuntu-latest steps: @@ -19,22 +18,10 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: "3.10" - name: Install uv uses: astral-sh/setup-uv@v2 with: version: "0.4.15" - run: uv run bash scripts/lint.sh working-directory: backend - - # https://github.com/marketplace/actions/alls-green#why - lint-backend-alls-green: # This job does nothing and is only used for the branch protection - if: always() - needs: - - lint-backend - runs-on: ubuntu-latest - steps: - - name: Decide whether the needed jobs succeeded or failed - uses: re-actors/alls-green@release/v1 - with: - jobs: ${{ toJSON(needs) }} diff --git a/.github/workflows/smokeshow.yml b/.github/workflows/smokeshow.yml index 90c73f5..d322e9d 100644 --- a/.github/workflows/smokeshow.yml +++ b/.github/workflows/smokeshow.yml @@ -16,17 +16,14 @@ jobs: steps: - uses: actions/setup-python@v5 with: - python-version: '3.9' - + python-version: "3.10" - run: pip install smokeshow - - uses: actions/download-artifact@v4 with: name: coverage-html path: backend/htmlcov github-token: ${{ secrets.GITHUB_TOKEN }} run-id: ${{ github.event.workflow_run.id }} - - run: smokeshow upload backend/htmlcov env: SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage} diff --git a/.github/workflows/test-backend.yml b/.github/workflows/test-backend.yml index 4d01336..cf66734 100644 --- a/.github/workflows/test-backend.yml +++ b/.github/workflows/test-backend.yml @@ -10,17 +10,15 @@ on: - synchronize jobs: - test-backend: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: "3.10" - name: Install uv uses: astral-sh/setup-uv@v2 with: @@ -40,15 +38,3 @@ jobs: name: coverage-html path: backend/htmlcov include-hidden-files: true - - # https://github.com/marketplace/actions/alls-green#why - alls-green: # This job does nothing and is only used for the branch protection - if: always() - needs: - - test-backend - runs-on: ubuntu-latest - steps: - - name: Decide whether the needed jobs succeeded or failed - uses: re-actors/alls-green@release/v1 - with: - jobs: ${{ toJSON(needs) }}