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/