From e664e8fc5431b5cddae30f9e788f5f6cec28c946 Mon Sep 17 00:00:00 2001 From: Brandon Corbett Date: Thu, 29 Oct 2026 21:11:41 -0400 Subject: [PATCH] ci: cancel superseded runs, skip docs-only changes, add job timeouts Closes #17 --- .github/workflows/ci.yml | 10 ++++++++++ .github/workflows/release.yml | 2 ++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4010d2b..7b57d93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,13 +4,23 @@ on: push: branches: [main] pull_request: + paths-ignore: + - '**/*.md' + - 'docs/**' + - 'LICENSE' + - '.github/ISSUE_TEMPLATE/**' permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest + timeout-minutes: 15 strategy: fail-fast: false matrix: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfc7dbb..6211956 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,7 @@ jobs: release-please: name: Release PR runs-on: ubuntu-latest + timeout-minutes: 20 if: github.repository_owner == 'fells-code' && github.event_name == 'push' permissions: contents: write @@ -55,6 +56,7 @@ jobs: !cancelled() && github.repository_owner == 'fells-code' && (needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch') runs-on: ubuntu-latest + timeout-minutes: 20 environment: name: pypi url: https://pypi.org/project/seamless-auth/