Skip to content

Commit d6cb1b4

Browse files
authored
Merge branch 'main' into support-cooldown-config
2 parents 3bbe1bc + ac9b9e8 commit d6cb1b4

18 files changed

+1078
-73
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
issuer: https://token.actions.githubusercontent.com
2+
subject_pattern: "repo:github-community-projects/evergreen:pull_request"
3+
claim_pattern:
4+
job_workflow_ref: "github-community-projects/evergreen/.github/workflows/update-uv-lock.yml@.*"
5+
6+
permissions:
7+
contents: write

.github/linters/.codespellrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[codespell]
2+
ignore-words-list = astroid

.github/linters/.jscpd.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"threshold": 25,
3-
"ignore": ["/github/workspace/test*"],
3+
"ignore": ["test*", "**/.venv/**"],
44
"absolute": true
55
}

.github/workflows/auto-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
permissions:
1212
contents: read
1313
pull-requests: write
14-
uses: github/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
14+
uses: github-community-projects/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
1515
with:
1616
config-name: release-drafter.yml
1717
secrets:

.github/workflows/copilot-setup-steps.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ jobs:
3030
with:
3131
persist-credentials: false
3232

33+
- name: Install uv
34+
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
35+
3336
- name: Set up Python
34-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
35-
with:
36-
python-version: 3.12
37+
run: uv python install 3.14
3738

3839
- name: Install dependencies
3940
run: |
40-
pip install -r requirements.txt -r requirements-test.txt
41+
uv sync --frozen --python 3.14

.github/workflows/pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
contents: read
1313
pull-requests: read
1414
statuses: write
15-
uses: github/ospo-reusable-workflows/.github/workflows/pr-title.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
15+
uses: github-community-projects/ospo-reusable-workflows/.github/workflows/pr-title.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
1616
secrets:
1717
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/python-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
python-version: [3.11, 3.12]
21+
python-version: [3.11, 3.12, 3.13, 3.14]
2222
steps:
2323
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
persist-credentials: false
26+
- name: Install uv
27+
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
2628
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
28-
with:
29-
python-version: ${{ matrix.python-version }}
29+
run: uv python install ${{ matrix.python-version }}
3030
- name: Install dependencies
3131
run: |
32-
pip install -r requirements.txt -r requirements-test.txt
32+
uv sync --frozen --python ${{ matrix.python-version }}
3333
- name: Lint with flake8 and pylint
3434
run: |
3535
make lint

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
permissions:
1313
contents: write
1414
pull-requests: read
15-
uses: github/ospo-reusable-workflows/.github/workflows/release.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
15+
uses: github-community-projects/ospo-reusable-workflows/.github/workflows/release.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
1616
with:
1717
publish: true
1818
release-config-name: release-drafter.yml
@@ -25,7 +25,7 @@ jobs:
2525
packages: write
2626
id-token: write
2727
attestations: write
28-
uses: github/ospo-reusable-workflows/.github/workflows/release-image.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
28+
uses: github-community-projects/ospo-reusable-workflows/.github/workflows/release-image.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
2929
with:
3030
image-name: ${{ github.repository }}
3131
full-tag: ${{ needs.release.outputs.full-tag }}
@@ -40,7 +40,7 @@ jobs:
4040
permissions:
4141
contents: read
4242
discussions: write
43-
uses: github/ospo-reusable-workflows/.github/workflows/release-discussion.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
43+
uses: github-community-projects/ospo-reusable-workflows/.github/workflows/release-discussion.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
4444
with:
4545
full-tag: ${{ needs.release.outputs.full-tag }}
4646
body: ${{ needs.release.outputs.body }}

.github/workflows/super-linter.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525
persist-credentials: false
26-
- name: Setup Python
27-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
28-
with:
29-
python-version: "3.12"
26+
- name: Install uv
27+
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
3028
- name: Install dependencies
3129
run: |
32-
pip install -r requirements.txt -r requirements-test.txt
30+
uv sync --frozen
3331
- name: Lint Code Base
3432
uses: super-linter/super-linter@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5.0
3533
env:
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: Update uv.lock
3+
4+
on:
5+
pull_request:
6+
paths:
7+
- pyproject.toml
8+
9+
permissions:
10+
id-token: write
11+
12+
jobs:
13+
update-lock:
14+
if: github.event.pull_request.user.login == 'dependabot[bot]'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Get GitHub App token via octo-sts
18+
uses: octo-sts/action@f603d3be9d8dd9871a265776e625a27b00effe05 # v1.1.1
19+
id: octo-sts
20+
with:
21+
scope: github-community-projects/evergreen
22+
identity: update-uv-lock
23+
24+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+
with:
26+
ref: ${{ github.head_ref }}
27+
persist-credentials: true # Use the workflow temporary token from octo-sts to allow pushing changes back to the dependabot branch
28+
token: ${{ steps.octo-sts.outputs.token }}
29+
30+
- name: Install uv
31+
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
32+
33+
- name: Update uv.lock
34+
run: uv lock
35+
36+
- name: Commit and push updated lockfile
37+
run: |
38+
git config user.name "octo-sts[bot]"
39+
git config user.email "801323+octo-sts[bot]@users.noreply.github.com"
40+
git add uv.lock
41+
git diff --cached --quiet || git commit -s -m "chore(deps): update uv.lock"
42+
git push

0 commit comments

Comments
 (0)