-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'greedoid-for-contrib-with-finset-arrow-prop' into greed…
…oid-for-contrib Further work on greedoid-for-contrib will be done on its own branch.
- Loading branch information
Showing
3,446 changed files
with
99,949 additions
and
41,727 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
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,42 @@ | ||
name: Autolabel PRs | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
push: | ||
paths: | ||
- scripts/autolabel.lean | ||
- .github/workflows/add_label_from_diff.yaml | ||
|
||
jobs: | ||
add_topic_label: | ||
name: Add topic label | ||
runs-on: ubuntu-latest | ||
# Don't run on forks, where we wouldn't have permissions to add the label anyway. | ||
if: github.repository == 'leanprover-community/mathlib4' | ||
permissions: | ||
issues: write | ||
checks: write | ||
pull-requests: write | ||
contents: read | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- 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}" | ||
- name: lake exe autolabel | ||
run: | | ||
# the checkout dance, to avoid a detached head | ||
git checkout master | ||
git checkout - | ||
lake exe autolabel "$NUMBER" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.number }} |
Oops, something went wrong.