Skip to content

Commit 741ec5d

Browse files
authored
Add a little timeout on the required-labels check if the PR was just opened (#2049)
1 parent 63ae78d commit 741ec5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/required-labels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v5
22+
- name: Wait for PR to be ready (if just opened)
23+
if: github.event_name == 'pull_request_target' && github.event.action == 'opened'
24+
run: sleep 30
2225
- id: get-labels
2326
run: |
2427
labels=$(yq '[.categories[].labels] + .exclude-labels | flatten | unique | sort | @tsv' .github/release-drafter.yml | tr '\t' ',')

0 commit comments

Comments
 (0)