|
6 | 6 | # |
7 | 7 | # The provided actions which are used here consume this snapshot, with: |
8 | 8 | # |
9 | | -# bump — updates lakefile.lean/lake-manifest to the LKG mathlib commit |
10 | | -# and opens (or force-pushes) a PR via the mathlib-nightly-testing bot. |
11 | | -# open-issue — opens a persistent issue when an FKB commit is detected (i.e. cslib |
12 | | -# can't yet advance to the mathlib tip), and closes it automatically |
13 | | -# once the incompatibility is resolved. |
14 | | - |
| 9 | +# bump: |
| 10 | +# updates lakefile.lean/lake-manifest to the LKG mathlib commit |
| 11 | +# and opens (or force-pushes) a PR via the mathlib-nightly-testing bot. |
| 12 | +# track-incompatibility: |
| 13 | +# opens |
| 14 | +# (1) a persistent issue when an FKB commit is detected (i.e. cslib |
| 15 | +# can't yet advance to the mathlib tip) |
| 16 | +# (2) a pull request with the dependency pinned to this commit, so issues can be worked on |
| 17 | +# closes these automatically once the incompatibility is resolved. |
15 | 18 | name: Bump mathlib to LKG |
16 | 19 |
|
17 | 20 | on: |
|
52 | 55 | permissions: |
53 | 56 | issues: write |
54 | 57 | steps: |
| 58 | + - name: Generate app token |
| 59 | + id: app-token |
| 60 | + uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1 |
| 61 | + with: |
| 62 | + app-id: ${{ secrets.MATHLIB_NIGHTLY_TESTING_APP_ID }} |
| 63 | + private-key: ${{ secrets.MATHLIB_NIGHTLY_TESTING_PRIVATE_KEY }} |
| 64 | + |
| 65 | + # We need to check out so the action can open the PR |
| 66 | + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 67 | + |
55 | 68 | - name: Open or update incompatibility issue |
56 | | - uses: leanprover-community/downstream-reports/.github/actions/open-incompatibility-issue@main |
| 69 | + uses: leanprover-community/downstream-reports/.github/actions/track-incompatibility@main |
| 70 | + with: |
| 71 | + open-pr: true |
| 72 | + token: ${{ steps.app-token.outputs.token }} |
| 73 | + git-user-name: mathlib-nightly-testing[bot] |
| 74 | + git-user-email: mathlib-nightly-testing[bot]@users.noreply.github.com |
0 commit comments