Skip to content

Commit 7938fab

Browse files
committed
merge master
2 parents 0aa2584 + cfd711c commit 7938fab

861 files changed

Lines changed: 18802 additions & 4505 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/actions/get-mathlib-ci/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
# Default pinned commit used by workflows unless they explicitly override.
1111
# Update this ref as needed to pick up changes to mathlib-ci scripts
1212
# This is also updated automatically by .github/workflows/update_dependencies.yml
13-
default: 0efe1f98dd7e3b632b596b0360dd01cb7f4bc4c7
13+
default: 455d84939bba1fbe157ff2c1469a0c258372d05c
1414
path:
1515
description: Checkout destination path.
1616
required: false

.github/workflows/add_label_from_diff.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
ref: master
2828
path: tools
2929
- name: Configure Lean
30-
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # v1.4.0
30+
uses: leanprover/lean-action@38fbc41a8c28c4cbaec22d7f7de508ec2e7c0dd9 # v1.5.0
3131
with:
3232
auto-config: false
3333
use-github-cache: false

.github/workflows/build_template.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ jobs:
451451
452452
- name: upload cache staging artifact
453453
if: ${{ always() && steps.cache_staging_check.outputs.has_files == 'true' }}
454-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
454+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
455455
with:
456456
name: cache-staging
457457
path: cache-staging/
@@ -574,12 +574,14 @@ jobs:
574574
- name: Generate lean-pr-testing app token
575575
if: ${{ always() && github.repository == 'leanprover-community/mathlib4-nightly-testing' && (startsWith(github.ref_name, 'lean-pr-testing-') || startsWith(github.ref_name, 'batteries-pr-testing-')) }}
576576
id: lean-pr-testing-token
577-
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
577+
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
578578
with:
579-
app-id: ${{ secrets.MATHLIB_LEAN_PR_TESTING_APP_ID }}
580-
private-key: ${{ secrets.MATHLIB_LEAN_PR_TESTING_PRIVATE_KEY }}
581-
owner: leanprover
582-
repositories: lean4
579+
# `batteries-pr-testing-*` branches need a token scoped to `leanprover-community/batteries`
580+
# for the labelling API; `lean-pr-testing-*` branches need one scoped to `leanprover/lean4`.
581+
app-id: ${{ startsWith(github.ref_name, 'batteries-pr-testing-') && secrets.MATHLIB_NIGHTLY_TESTING_APP_ID || secrets.MATHLIB_LEAN_PR_TESTING_APP_ID }}
582+
private-key: ${{ startsWith(github.ref_name, 'batteries-pr-testing-') && secrets.MATHLIB_NIGHTLY_TESTING_PRIVATE_KEY || secrets.MATHLIB_LEAN_PR_TESTING_PRIVATE_KEY }}
583+
owner: ${{ startsWith(github.ref_name, 'batteries-pr-testing-') && 'leanprover-community' || 'leanprover' }}
584+
repositories: ${{ startsWith(github.ref_name, 'batteries-pr-testing-') && 'batteries' || 'lean4' }}
583585
# The create-github-app-token README states that this token is masked and will not be logged accidentally.
584586
- name: Post comments for lean-pr-testing-NNNN and batteries-pr-testing-NNNN branches
585587
if: ${{ always() && github.repository == 'leanprover-community/mathlib4-nightly-testing' && (startsWith(github.ref_name, 'lean-pr-testing-') || startsWith(github.ref_name, 'batteries-pr-testing-')) }}
@@ -618,7 +620,7 @@ jobs:
618620
fetch-depth: 1
619621

620622
- name: Configure Lean
621-
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # v1.4.0
623+
uses: leanprover/lean-action@38fbc41a8c28c4cbaec22d7f7de508ec2e7c0dd9 # v1.5.0
622624
with:
623625
auto-config: false # Don't run `lake build`, `lake test`, or `lake lint` automatically.
624626
use-github-cache: false
@@ -689,7 +691,7 @@ jobs:
689691
ref: ${{ inputs.pr_branch_ref }}
690692

691693
- name: Configure Lean
692-
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # v1.4.0
694+
uses: leanprover/lean-action@38fbc41a8c28c4cbaec22d7f7de508ec2e7c0dd9 # v1.5.0
693695
with:
694696
auto-config: false # Don't run `lake build`, `lake test`, or `lake lint` automatically.
695697
use-github-cache: false
@@ -732,7 +734,7 @@ jobs:
732734
lake exe graph
733735
734736
- name: upload the import graph
735-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
737+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
736738
with:
737739
name: import-graph
738740
path: import_graph.dot
@@ -874,7 +876,7 @@ jobs:
874876
steps.get-label-actor.outputs.username != 'mathlib-update-dependencies' &&
875877
steps.get-label-actor.outputs.username != 'mathlib-splicebot'
876878
name: check team membership
877-
uses: tspascoal/get-user-teams-membership@57e9f42acd78f4d0f496b3be4368fc5f62696662 # v3.0.0
879+
uses: tspascoal/get-user-teams-membership@818140d631d5f29f26b151afbe4179f87d9ceb5e # v4.0.1
878880
id: actorTeams
879881
with:
880882
organization: leanprover-community # optional. Default value ${{ github.repository_owner }}

.github/workflows/check_pr_titles.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
ref: master
2525
- name: Configure Lean
26-
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # v1.4.0
26+
uses: leanprover/lean-action@38fbc41a8c28c4cbaec22d7f7de508ec2e7c0dd9 # v1.5.0
2727
with:
2828
auto-config: false
2929
use-github-cache: false
@@ -70,7 +70,7 @@ jobs:
7070
fi
7171
7272
- name: Add comment to fix PR title
73-
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # v3.0.2
73+
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4
7474
if: failure() && steps.pr-title-check.outputs.errors
7575
with:
7676
header: 'PR Title Check'
@@ -120,7 +120,7 @@ jobs:
120120
121121
- name: Add comment that PR title is fixed
122122
if: steps.pr-title-check.outcome == 'success'
123-
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # v3.0.2
123+
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4
124124
with:
125125
header: 'PR Title Check'
126126
# should do nothing if a 'PR Title Check' comment does not exist

.github/workflows/daily.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
ref: ${{ env.BRANCH_REF }}
5959

6060
- name: Configure Lean
61-
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # v1.4.0
61+
uses: leanprover/lean-action@38fbc41a8c28c4cbaec22d7f7de508ec2e7c0dd9 # v1.5.0
6262
with:
6363
auto-config: false
6464
use-github-cache: false
@@ -127,7 +127,7 @@ jobs:
127127
api-key: ${{ secrets.ZULIP_API_KEY }}
128128
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
129129
organization-url: 'https://leanprover.zulipchat.com'
130-
to: 'nightly-testing'
130+
to: 'nightly-testing-mathlib'
131131
type: 'stream'
132132
topic: 'leanchecker'
133133
content: |
@@ -140,7 +140,7 @@ jobs:
140140
api-key: ${{ secrets.ZULIP_API_KEY }}
141141
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
142142
organization-url: 'https://leanprover.zulipchat.com'
143-
to: 'nightly-testing'
143+
to: 'nightly-testing-mathlib'
144144
type: 'stream'
145145
topic: 'leanchecker failure'
146146
content: |
@@ -183,7 +183,7 @@ jobs:
183183
ref: ${{ env.BRANCH_REF }}
184184

185185
- name: Configure Lean
186-
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # v1.4.0
186+
uses: leanprover/lean-action@38fbc41a8c28c4cbaec22d7f7de508ec2e7c0dd9 # v1.5.0
187187
with:
188188
auto-config: false
189189
use-github-cache: false
@@ -250,7 +250,7 @@ jobs:
250250
api-key: ${{ secrets.ZULIP_API_KEY }}
251251
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
252252
organization-url: 'https://leanprover.zulipchat.com'
253-
to: 'nightly-testing'
253+
to: 'nightly-testing-mathlib'
254254
type: 'stream'
255255
topic: 'mathlib test executable'
256256
content: |
@@ -263,7 +263,7 @@ jobs:
263263
api-key: ${{ secrets.ZULIP_API_KEY }}
264264
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
265265
organization-url: 'https://leanprover.zulipchat.com'
266-
to: 'nightly-testing'
266+
to: 'nightly-testing-mathlib'
267267
type: 'stream'
268268
topic: 'mathlib test executable failure'
269269
content: |
@@ -306,7 +306,7 @@ jobs:
306306
ref: ${{ env.BRANCH_REF }}
307307

308308
- name: Configure Lean
309-
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # v1.4.0
309+
uses: leanprover/lean-action@38fbc41a8c28c4cbaec22d7f7de508ec2e7c0dd9 # v1.5.0
310310
with:
311311
auto-config: false
312312
use-github-cache: false
@@ -415,7 +415,7 @@ jobs:
415415
api-key: ${{ secrets.ZULIP_API_KEY }}
416416
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
417417
organization-url: 'https://leanprover.zulipchat.com'
418-
to: 'nightly-testing'
418+
to: 'nightly-testing-mathlib'
419419
type: 'stream'
420420
topic: 'nanoda'
421421
content: |
@@ -428,7 +428,7 @@ jobs:
428428
api-key: ${{ secrets.ZULIP_API_KEY }}
429429
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
430430
organization-url: 'https://leanprover.zulipchat.com'
431-
to: 'nightly-testing'
431+
to: 'nightly-testing-mathlib'
432432
type: 'stream'
433433
topic: 'nanoda failure'
434434
content: |

.github/workflows/docker_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images
3030
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131
- name: Log in to the container registry
32-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
32+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
3333
with:
3434
registry: ${{ env.REGISTRY }}
3535
# might need set as `secrets.DOCKER_USERNAME` and `secrets.DOCKER_PASSWORD`
@@ -51,7 +51,7 @@ jobs:
5151
org.opencontainers.image.licenses=Apache-2.0
5252
- name: Build and push docker image
5353
id: push
54-
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
54+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
5555
with:
5656
context: .
5757
file: .docker/${{ matrix.image }}/Dockerfile

.github/workflows/label_new_contributor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- name: Label PR and report count
2727
id: contributor-check
28-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
28+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
2929
with:
3030
script: |
3131
const MIN_MERGED = 5;
@@ -99,7 +99,7 @@ jobs:
9999
100100
- name: Post welcome comment for new contributor
101101
if: steps.contributor-check.outputs.should_welcome == 'true'
102-
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # v3.0.2
102+
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4
103103
with:
104104
header: 'New Contributor Welcome'
105105
message: |

.github/workflows/labels_from_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
- name: Add / remove label based on comment
3131
run: |
32-
labelArray=("awaiting-author" "awaiting-zulip" "WIP" "easy" "please-adopt" "help-wanted" "CI" "brownian" "carleson" "CFT" "FLT" "infinity-cosmos" "sphere-packing" "toric" "IMO" "t-algebra" "t-algebraic-geometry" "t-algebraic-topology" "t-analysis" "t-category-theory" "t-combinatorics" "t-computability" "t-condensed" "t-convex-geometry" "t-data" "t-differential-geometry" "t-dynamics" "t-euclidean-geometry" "t-geometric-group-theory" "t-group-theory" "t-linter" "t-logic" "t-measure-probability" "t-meta" "t-number-theory" "t-order" "t-ring-theory" "t-set-theory" "t-topology")
32+
labelArray=("awaiting-author" "awaiting-zulip" "WIP" "easy" "please-adopt" "help-wanted" "CI" "brownian" "carleson" "CFT" "FLT" "infinity-cosmos" "sphere-packing" "toric" "LLM-generated" "IMO" "t-algebra" "t-algebraic-geometry" "t-algebraic-topology" "t-analysis" "t-category-theory" "t-combinatorics" "t-computability" "t-condensed" "t-convex-geometry" "t-data" "t-differential-geometry" "t-dynamics" "t-euclidean-geometry" "t-geometric-group-theory" "t-group-theory" "t-linter" "t-logic" "t-measure-probability" "t-meta" "t-number-theory" "t-order" "t-ring-theory" "t-set-theory" "t-topology")
3333
3434
# we strip `\r` since line endings from GitHub contain this character
3535
COMMENT="${COMMENT//$'\r'/}"

.github/workflows/latest_import.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: ./workflow-actions/.github/actions/get-mathlib-ci
4040

4141
- name: Configure Lean
42-
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # v1.4.0
42+
uses: leanprover/lean-action@38fbc41a8c28c4cbaec22d7f7de508ec2e7c0dd9 # v1.5.0
4343
with:
4444
auto-config: false
4545
use-github-cache: false

.github/workflows/maintainer_bors_wf_run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Download legacy artifact (fallback)
4141
id: download-legacy-artifact
4242
if: ${{ steps.bridge.outputs.pr_number == '' }}
43-
uses: dawidd6/action-download-artifact@8a338493df3d275e4a7a63bcff3b8fe97e51a927 # v19
43+
uses: dawidd6/action-download-artifact@b6e2e70617bc3265edd6dab6c906732b2f1ae151 # v21
4444
with:
4545
workflow: maintainer_bors.yml
4646
name: workflow-data

0 commit comments

Comments
 (0)