From 4ae0822adb3aa0c5ade6bcc1f5dce6cb2209dfd2 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Tue, 14 Oct 2025 12:01:15 +0200 Subject: [PATCH] Add a little timeout on the required-labels check if the PR was just opened --- .github/workflows/required-labels.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/required-labels.yml b/.github/workflows/required-labels.yml index aaf54c00a..524d7f72b 100644 --- a/.github/workflows/required-labels.yml +++ b/.github/workflows/required-labels.yml @@ -19,6 +19,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 + - name: Wait for PR to be ready (if just opened) + if: github.event_name == 'pull_request_target' && github.event.action == 'opened' + run: sleep 30 - id: get-labels run: | labels=$(yq '[.categories[].labels] + .exclude-labels | flatten | unique | sort | @tsv' .github/release-drafter.yml | tr '\t' ',')