Skip to content

Commit 1dc17a2

Browse files
authored
Fix #833: Wait for auto-labeler for 10sec on new PRs (#861)
1 parent c3f8ac2 commit 1dc17a2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/labels.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ on:
44
pull_request:
55
types: [opened, labeled, unlabeled]
66
jobs:
7+
wait-triage:
8+
runs-on: ubuntu-latest
9+
if: github.event.action == 'opened'
10+
steps:
11+
- name: Wait for auto-labeler
12+
run: sleep 10s
13+
shell: bash
14+
715
pr-has-label:
16+
needs: wait-triage
817
name: Will be skipped if labelled
918
runs-on: ubuntu-latest
1019
if: ${{ join(github.event.pull_request.labels.*.name, ', ') == '' }}

0 commit comments

Comments
 (0)