From 133182defd031230e01ee493652d1ee59370d0df Mon Sep 17 00:00:00 2001 From: Brandon Corbett Date: Sat, 31 Oct 2026 08:39:57 -0400 Subject: [PATCH] ci: cancel superseded runs and skip documentation-only changes Closes #13 --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ .github/workflows/release.yml | 1 + 2 files changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e552b27..897b216 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,12 +4,33 @@ on: push: branches: - main + paths-ignore: + - "*.md" + - docs/** + - examples/**/*.md + - packages/*/README.md + - LICENSE + - packages/*/LICENSE + - .github/ISSUE_TEMPLATE/** pull_request: + paths-ignore: + - "*.md" + - docs/** + - examples/**/*.md + - packages/*/README.md + - LICENSE + - packages/*/LICENSE + - .github/ISSUE_TEMPLATE/** + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: checks: name: checks (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest + timeout-minutes: 15 strategy: fail-fast: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c73689..491fccd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,7 @@ jobs: name: Version or publish if: github.repository == 'fells-code/seamless-auth-messaging' runs-on: ubuntu-latest + timeout-minutes: 20 permissions: contents: write