Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ updates:
# enough that a 7-day window broke most runs. 1 day still enforces the
# 24-hour publish delay the house standard asks for.
cooldown:
# jactionlint ignore=dependabot-cooldown
default-days: 1
commit-message:
prefix: "chore(deps)"
Expand Down
2 changes: 1 addition & 1 deletion .github/jactionlint.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/jdx/jactionlint/main/schema/jactionlint-config.json
profile: correctness
profile: default
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
lint:
name: lint
runs-on: ubuntu-26.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down Expand Up @@ -44,6 +49,7 @@ jobs:
pytest:
name: pytest (py${{ matrix.python-version }})
runs-on: ubuntu-26.04
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
Expand All @@ -64,6 +70,7 @@ jobs:
bootstrap:
name: bootstrap
runs-on: ubuntu-26.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down Expand Up @@ -101,6 +108,7 @@ jobs:
test:
name: test
runs-on: ubuntu-26.04
timeout-minutes: 5
needs: [lint, pytest, bootstrap]
if: always()
steps:
Expand All @@ -121,6 +129,7 @@ jobs:
name: commitlint
if: github.event_name == 'pull_request'
runs-on: ubuntu-26.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand All @@ -139,6 +148,7 @@ jobs:
zizmor:
name: zizmor
runs-on: ubuntu-26.04
timeout-minutes: 5
permissions:
contents: read
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-26.04
timeout-minutes: 10
defaults:
run:
working-directory: docs/site
Expand Down Expand Up @@ -57,6 +58,7 @@ jobs:
# trigger above decorative -- it would build and then skip the deploy.
if: github.event_name != 'pull_request'
runs-on: ubuntu-26.04
timeout-minutes: 5
permissions:
pages: write
id-token: write
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ permissions: {}
jobs:
release-please:
runs-on: ubuntu-26.04
timeout-minutes: 5
if: github.repository_owner == 'yo61'
permissions:
contents: read
Expand Down Expand Up @@ -53,6 +54,7 @@ jobs:
sync-lockfile:
needs: release-please
runs-on: ubuntu-26.04
timeout-minutes: 5
permissions: {}
steps:
- id: create_token
Expand Down Expand Up @@ -263,6 +265,7 @@ jobs:
needs.release-please.outputs.release_created == 'true'
&& vars.PYPI_PUBLISH != 'false'
runs-on: ubuntu-26.04
timeout-minutes: 10
environment:
name: pypi
url: https://pypi.org/p/python-template
Expand Down