Skip to content

Commit 6b3539e

Browse files
authored
Merge pull request #515 from OvertureMaps/staging_2026_05_07
May: dev commits to staging
2 parents 5ac1834 + 31d5221 commit 6b3539e

204 files changed

Lines changed: 17183 additions & 2615 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dco.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
require:
3+
members: false

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
version: 2
3+
updates:
4+
5+
# Maintain GitHub Actions dependencies
6+
- package-ecosystem: "github-actions"
7+
directory: "/"
8+
schedule:
9+
interval: "weekly"
10+
groups:
11+
actions:
12+
patterns:
13+
- "actions/*"
14+
open-pull-requests-limit: 5
15+
labels:
16+
- "bot"
17+
- "automation 🦾" # Required for enforce-change-type-label.yaml check
18+
commit-message:
19+
prefix: "[CHORE](deps)"
20+
include: "scope"
21+
cooldown:
22+
default-days: 7
Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Check Python package code
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
paths:
66
- 'packages/**'
77
- 'pyproject.toml'
@@ -13,25 +13,59 @@ on:
1313
- 'pyproject.toml'
1414
- 'uv.lock'
1515

16+
permissions:
17+
contents: read
18+
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
21+
cancel-in-progress: true
22+
1623
jobs:
1724
check:
25+
name: Check (${{ matrix.resolution }}, py${{ matrix.python }})
1826
runs-on: ubuntu-latest
19-
if: github.event.pull_request.head.repo.full_name == github.repository
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
# Default resolution exercises the committed lock against every
32+
# supported Python minor version. The lowest-direct cell pins each
33+
# direct dependency to its declared floor (see UV_RESOLUTION below)
34+
# and runs only on the Python floor.
35+
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
36+
resolution: [default]
37+
include:
38+
- python: "3.10"
39+
resolution: lowest-direct
40+
41+
permissions:
42+
contents: read
2043

2144
steps:
22-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2346
with:
24-
ref: ${{ github.event.pull_request.head.sha }}
47+
persist-credentials: false
2548

2649
- name: Install uv
27-
uses: astral-sh/setup-uv@v4
50+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
2851
with:
2952
version: "latest"
3053

3154
- name: Set up Python
32-
uses: actions/setup-python@v5
55+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3356
with:
34-
python-version: "3.10"
57+
python-version: ${{ matrix.python }}
58+
59+
# UV_RESOLUTION=lowest-direct makes `uv sync` re-resolve every direct
60+
# dependency to the lowest version permitted by pyproject.toml. This
61+
# exercises the declared floor (e.g. pydantic==2.12.0) instead of
62+
# whatever the committed lock happens to point at. Failures here mean
63+
# a direct dep's minimum needs to be bumped. Set via GITHUB_ENV only
64+
# in the relevant cell so default cells run with no UV_RESOLUTION at
65+
# all -- otherwise an empty value is rejected by uv.
66+
- name: Configure resolution
67+
if: matrix.resolution == 'lowest-direct'
68+
run: echo "UV_RESOLUTION=lowest-direct" >> "$GITHUB_ENV"
3569

3670
- name: Run make check
3771
run: make check
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
name: Check Python package version numbers
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
paths:
66
- '**/pyproject.toml'
77
- 'packages/**/__about__.py'
88

99
permissions:
10-
id-token: write
1110
contents: read
1211

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
15+
1316
jobs:
1417
check:
15-
if: github.event.pull_request.head.repo.full_name == github.repository
1618
uses: ./.github/workflows/reusable-check-python-package-versions.yaml
19+
permissions:
20+
id-token: write # Required for AWS CodeArtifact OIDC authentication
21+
contents: read
1722
with:
1823
before_commit: ${{ github.event.pull_request.base.sha }}
1924
after_commit: ${{ github.event.pull_request.head.sha }}

.github/workflows/copy-latest-docs-to-staging.yaml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/workflows/copy-pr-docs-to-staging.yaml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.github/workflows/enforce-change-type-label.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,24 @@ on:
44
pull_request:
55
types: [opened, edited, labeled, unlabeled, synchronize]
66

7+
permissions:
8+
contents: read
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
12+
cancel-in-progress: true
13+
714
jobs:
815
check-label:
16+
name: Check label
917
runs-on: ubuntu-latest
18+
19+
permissions:
20+
contents: read # Required for reading PR labels
21+
1022
steps:
1123
- name: Require exactly one change type label
12-
uses: actions/github-script@v6
24+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
1325
with:
1426
script: |
1527
const allChangeTypeLabels = new Set([
@@ -18,12 +30,13 @@ jobs:
1830
'change type - documentation - member 📝',
1931
'change type - major 🚨',
2032
'change type - minor 🤏',
33+
'automation 🦾',
2134
]);
2235
const prLabels = context.payload.pull_request.labels.map(label => label.name);
2336
const appliedChangeTypeLabels = prLabels.filter(prLabel => allChangeTypeLabels.has(prLabel));
2437
if (appliedChangeTypeLabels.length !== 1) {
2538
const baseMessage = `The PR must have EXACTLY one of the following CHANGE TYPE labels: ${Array.from(allChangeTypeLabels).sort().join(', ')}. `
26-
const n = appliedChangeTypeLabels.length;
39+
const n = appliedChangeTypeLabels.length;
2740
let contextualMessage;
2841
if (n === 0) {
2942
contextualMessage = 'It currently has no change type label. Please ➕ add one label. 🙏'

.github/workflows/publish-docs-gh-pages.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)