Spracherkennung für: .yml vermutete Sprache: SQL {SQL[48] MT940[46] VDM[39]} [Methode: maximale Elemente, drei Dimensionen]
name: update nolints
on:
schedule:
- cron: "0 0 * * 0" # At 00:00 UTC on Sunday.
workflow_dispatch:
jobs:
build:
name: Build, lint and update nolints and style exceptions
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4'
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Configure Lean
uses: leanprover/lean-action@fe408643ea7367d8c0404a8be3975bb145f5fb64 # v1.7.0
with:
auto-config: false
use-github-cache: false
use-mathlib-cache: true
- name: update nolints.json
shell: bash
run: |
env LEAN_ABORT_ON_PANIC=1 lake lint -- --trace --update
- name: Generate app token
id: app-token
uses: leanprover-community/mathlib-ci/.github/actions/azure-create-github-app-token@d6393a535c054122e507b6c5e1b2f4c31c604121
with:
app-id: ${{ secrets.MATHLIB_NOLINTS_APP_ID }}
key-vault-name: ${{ vars.MATHLIB_AZ_KEY_VAULT_NAME }}
key-name: mathlib-nolints-app-pk
azure-client-id: ${{ vars.GH_APP_AZURE_CLIENT_ID_PR_WRITERS }}
azure-tenant-id: ${{ secrets.LPC_AZ_TENANT_ID }}
# This token is masked by the token minting action and will not be logged accidentally.
- name: Create Pull Request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
# this needs to be set, otherwise the last person who edited the `cron` line may get tagged
author: "mathlib-nolints[bot] <258989889+mathlib-nolints[bot]@users.noreply.github.com>"
token: ${{ steps.app-token.outputs.token }}
commit-message: "chore(scripts): update nolints.json"
branch: "nolints"
base: master
title: "chore(scripts): update nolints.json"
body: |
I am happy to remove some nolints for you!
---
[workflow run for this PR](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
labels: "auto-merge-after-CI"
[Dauer der Verarbeitung: 0.4 Sekunden, vorverarbeitet 2026-11-18]