-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into MR-shell-strict-mode
- Loading branch information
Showing
3,080 changed files
with
80,882 additions
and
41,181 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
uses: credfeto/[email protected] | ||
|
||
- name: Look for ignored files | ||
uses: credfeto/action-no-ignored-files@v1.1.0 | ||
uses: credfeto/action-no-ignored-files@v1.2.0 | ||
|
||
- name: "Check for Lean files with the executable bit set" | ||
shell: bash | ||
|
@@ -92,7 +92,7 @@ jobs: | |
# The Hoskinson runners may not have jq installed, so do that now. | ||
- name: 'Setup jq' | ||
uses: dcarbone/install-jq-action@v1.0.1 | ||
uses: dcarbone/install-jq-action@v2.1.0 | ||
|
||
- name: install elan | ||
run: | | ||
|
@@ -303,7 +303,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- id: PR | ||
uses: 8BitJonny/gh-get-current-pr@2.2.0 | ||
uses: 8BitJonny/gh-get-current-pr@3.0.0 | ||
# TODO: this may not work properly if the same commit is pushed to multiple branches: | ||
# https://github.com/8BitJonny/gh-get-current-pr/issues/8 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: 2 # Specifies the version of the Dependabot configuration file format | ||
|
||
updates: | ||
# Configuration for dependency updates | ||
- package-ecosystem: "github-actions" # Specifies the ecosystem to check for updates | ||
directory: "/" # Specifies the directory to check for dependencies; "/" means the root directory | ||
schedule: | ||
# Check for updates to GitHub Actions every month | ||
interval: "monthly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Bench output summary | ||
|
||
on: | ||
issue_comment: | ||
types: created | ||
|
||
jobs: | ||
Produce_bench_summary: | ||
name: Post summary of benchmarking results | ||
if: github.event.issue.pull_request && (startsWith(github.event.comment.body, 'Here are the [benchmark results]')) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: install elan | ||
run: | | ||
set -o pipefail | ||
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.1.1/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz | ||
./elan-init -y --default-toolchain none | ||
echo "$HOME/.elan/bin" >> "${GITHUB_PATH}" | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: master | ||
sparse-checkout: | | ||
scripts/bench_summary.lean | ||
- name: Summarize bench output | ||
run: | | ||
{ | ||
cat scripts/bench_summary.lean | ||
printf $'run_cmd BenchAction.addBenchSummaryComment %s "leanprover-community/mathlib4"' "${PR}" | ||
} | | ||
lake env lean --stdin | ||
env: | ||
PR: ${{ github.event.issue.number }} | ||
GH_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
uses: credfeto/[email protected] | ||
|
||
- name: Look for ignored files | ||
uses: credfeto/action-no-ignored-files@v1.1.0 | ||
uses: credfeto/action-no-ignored-files@v1.2.0 | ||
|
||
- name: "Check for Lean files with the executable bit set" | ||
shell: bash | ||
|
@@ -102,7 +102,7 @@ jobs: | |
# The Hoskinson runners may not have jq installed, so do that now. | ||
- name: 'Setup jq' | ||
uses: dcarbone/install-jq-action@v1.0.1 | ||
uses: dcarbone/install-jq-action@v2.1.0 | ||
|
||
- name: install elan | ||
run: | | ||
|
@@ -313,7 +313,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- id: PR | ||
uses: 8BitJonny/gh-get-current-pr@2.2.0 | ||
uses: 8BitJonny/gh-get-current-pr@3.0.0 | ||
# TODO: this may not work properly if the same commit is pushed to multiple branches: | ||
# https://github.com/8BitJonny/gh-get-current-pr/issues/8 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ jobs: | |
uses: credfeto/[email protected] | ||
|
||
- name: Look for ignored files | ||
uses: credfeto/action-no-ignored-files@v1.1.0 | ||
uses: credfeto/action-no-ignored-files@v1.2.0 | ||
|
||
- name: "Check for Lean files with the executable bit set" | ||
shell: bash | ||
|
@@ -109,7 +109,7 @@ jobs: | |
# The Hoskinson runners may not have jq installed, so do that now. | ||
- name: 'Setup jq' | ||
uses: dcarbone/install-jq-action@v1.0.1 | ||
uses: dcarbone/install-jq-action@v2.1.0 | ||
|
||
- name: install elan | ||
run: | | ||
|
@@ -320,7 +320,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- id: PR | ||
uses: 8BitJonny/gh-get-current-pr@2.2.0 | ||
uses: 8BitJonny/gh-get-current-pr@3.0.0 | ||
# TODO: this may not work properly if the same commit is pushed to multiple branches: | ||
# https://github.com/8BitJonny/gh-get-current-pr/issues/8 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
uses: credfeto/[email protected] | ||
|
||
- name: Look for ignored files | ||
uses: credfeto/action-no-ignored-files@v1.1.0 | ||
uses: credfeto/action-no-ignored-files@v1.2.0 | ||
|
||
- name: "Check for Lean files with the executable bit set" | ||
shell: bash | ||
|
@@ -106,7 +106,7 @@ jobs: | |
# The Hoskinson runners may not have jq installed, so do that now. | ||
- name: 'Setup jq' | ||
uses: dcarbone/install-jq-action@v1.0.1 | ||
uses: dcarbone/install-jq-action@v2.1.0 | ||
|
||
- name: install elan | ||
run: | | ||
|
@@ -317,7 +317,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- id: PR | ||
uses: 8BitJonny/gh-get-current-pr@2.2.0 | ||
uses: 8BitJonny/gh-get-current-pr@3.0.0 | ||
# TODO: this may not work properly if the same commit is pushed to multiple branches: | ||
# https://github.com/8BitJonny/gh-get-current-pr/issues/8 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' # every day at 01:30 UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# until https://github.com/actions/stale/pull/1145 is merged | ||
- uses: asterisk/github-actions-stale@main-only-matching-filter | ||
with: | ||
debug-only: 'true' # TODO: remove in follow-up PR after testing is done! | ||
stale-pr-label: 'stale' | ||
stale-pr-message: 'Message to comment on stale PRs.' | ||
close-pr-label: 'closed-due-to-inactivity' | ||
close-pr-message: 'Comment on the staled PRs while closed' | ||
days-before-stale: 60 | ||
days-before-close: 120 | ||
# search string from the Zulip #queue link at https://bit.ly/4eo6brN | ||
# "is:open is:pr -is:draft base:master sort:updated-asc status:success -label:blocked-by-other-PR -label:merge-conflict -label:awaiting-CI -label:WIP -label:awaiting-author -label:delegated -label:auto-merge-after-CI -label:ready-to-merge -label:please-adopt -label:help-wanted -label:awaiting-zulip" | ||
# We want PRs _not_ on the queue, so we keep "is:pr -is:draft base:master" (is:open is added by the action by default) as a prefix for all queries and then negate the rest of the params in separate queries to simulate boolean OR (see https://github.com/actions/stale/pull/1145) | ||
# except for label:auto-merge-after-CI and label:ready-to-merge which presumably will be noticed before they go stale | ||
only-matching-filter: '[ "is:pr -is:draft base:master -status:success", "is:pr -is:draft base:master label:blocked-by-other-PR", "is:pr -is:draft base:master label:merge-conflict", "is:pr -is:draft base:master label:awaiting-CI", "is:pr -is:draft base:master label:WIP", "is:pr -is:draft base:master label:awaiting-author", "is:pr -is:draft base:master label:delegated", "is:pr -is:draft base:master label:please-adopt", "is:pr -is:draft base:master label:help-wanted", "is:pr -is:draft base:master label:awaiting-zulip" ]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.