Skip to content

Commit 1f5b8da

Browse files
committed
ci: add mathlib4-nightly-available label
1 parent 4b77e22 commit 1f5b8da

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/pr-release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
description: "${{ github.repository_owner }}/lean4-pr-releases:pr-release-${{ steps.workflow-info.outputs.pullRequestNumber }}-${{ env.SHORT_SHA }}",
128128
});
129129
130-
- name: Add label
130+
- name: Add toolchain-available label
131131
if: ${{ steps.workflow-info.outputs.pullRequestNumber != '' }}
132132
uses: actions/github-script@v8
133133
with:
@@ -515,6 +515,18 @@ jobs:
515515
run: |
516516
git push origin lean-pr-testing-${{ steps.workflow-info.outputs.pullRequestNumber }}
517517
518+
- name: Add mathlib4-nightly-available label
519+
if: steps.workflow-info.outputs.pullRequestNumber != '' && steps.ready.outputs.mathlib_ready == 'true'
520+
uses: actions/github-script@v8
521+
with:
522+
script: |
523+
await github.rest.issues.addLabels({
524+
issue_number: ${{ steps.workflow-info.outputs.pullRequestNumber }},
525+
owner: context.repo.owner,
526+
repo: context.repo.repo,
527+
labels: ['mathlib4-nightly-available']
528+
})
529+
518530
# We next automatically create a reference manual branch using this toolchain.
519531
# Reference manual CI will be responsible for reporting back success or failure
520532
# to the PR comments asynchronously (and thus transitively SubVerso/Verso).

0 commit comments

Comments
 (0)