Skip to content

Commit d62d8c5

Browse files
authored
Merge pull request #19 from fells-code/ci/hygiene
ci: cancel superseded runs, skip docs-only changes, add job timeouts
2 parents f5b58bf + e664e8f commit d62d8c5

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,23 @@ on:
44
push:
55
branches: [main]
66
pull_request:
7+
paths-ignore:
8+
- '**/*.md'
9+
- 'docs/**'
10+
- 'LICENSE'
11+
- '.github/ISSUE_TEMPLATE/**'
712

813
permissions:
914
contents: read
1015

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
1120
jobs:
1221
test:
1322
runs-on: ubuntu-latest
23+
timeout-minutes: 15
1424
strategy:
1525
fail-fast: false
1626
matrix:

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
release-please:
3434
name: Release PR
3535
runs-on: ubuntu-latest
36+
timeout-minutes: 20
3637
if: github.repository_owner == 'fells-code' && github.event_name == 'push'
3738
permissions:
3839
contents: write
@@ -55,6 +56,7 @@ jobs:
5556
!cancelled() && github.repository_owner == 'fells-code' &&
5657
(needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch')
5758
runs-on: ubuntu-latest
59+
timeout-minutes: 20
5860
environment:
5961
name: pypi
6062
url: https://pypi.org/project/seamless-auth/

0 commit comments

Comments
 (0)