Skip to content

Commit 9221fe2

Browse files
Update .github/workflows/api-diff-lint.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 965cee9 commit 9221fe2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/api-diff-lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Check for override label
2424
if: ${{ steps.lint-api-diff.outcome == 'failure' }}
2525
run: |
26-
if gh api repos/$OWNER/$REPO/pulls/$PR --jq '.labels[].name' | grep -q "${OVERRIDE_LABEL}"; then
26+
if gh api repos/$OWNER/$REPO/pulls/$PR --jq '.labels.[].name' | grep -q "${OVERRIDE_LABEL}"; then
2727
echo "Found ${OVERRIDE_LABEL} label, overriding failed results."
2828
exit 0
2929
else

0 commit comments

Comments
 (0)