From 772b4025f58fad2a212333635d8d64b32b809440 Mon Sep 17 00:00:00 2001 From: Tzahi Sabo Date: Wed, 17 Jun 2026 06:45:51 -0700 Subject: [PATCH] Clear any stale pass/fail label on updated PR Signed-off-by: Tzahi Sabo --- .github/workflows/labeler.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index ea850488..f32e6fe3 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -12,3 +12,11 @@ jobs: pull-requests: write steps: - uses: actions/labeler@v6 + + - name: Clear stale pass/fail labels + env: + GH_TOKEN: ${{ github.token }} + PR: ${{ github.event.pull_request.number }} + REPO: ${{ github.repository }} + run: | + gh pr edit "$PR" --repo "$REPO" --remove-label pass --remove-label fail || true