From b2119313bd65556e28e75351022c8b1eac762316 Mon Sep 17 00:00:00 2001 From: Scott Morrison Date: Thu, 31 Aug 2023 18:36:32 +1000 Subject: [PATCH] feat: add toolchain-available labels to PRs (#2492) --- .github/workflows/pr-release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pr-release.yml b/.github/workflows/pr-release.yml index 7fc9b61ee8..4f17c3bb56 100644 --- a/.github/workflows/pr-release.yml +++ b/.github/workflows/pr-release.yml @@ -70,6 +70,13 @@ jobs: # The token used here must have `workflow` privileges. GITHUB_TOKEN: ${{ secrets.PR_RELEASES_TOKEN }} + - name: Add label + if: ${{ steps.workflow-info.outputs.pullRequestNumber != '' }} + uses: actions-ecosystem/action-add-labels@v1 + with: + number: ${{ steps.workflow-info.outputs.pullRequestNumber }} + labels: toolchain-available + # We next automatically create a Mathlib branch using this toolchain. # Mathlib CI will be responsible for reporting back success or failure # to the PR comments asynchronously.