Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): fix apidiff handling of empty set #6912

Merged
merged 19 commits into from Oct 24, 2022
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/apidiff.yml
Expand Up @@ -34,7 +34,7 @@ jobs:
apidiff:
needs: scan_changes
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.labels.*.name, 'breaking change allowed')"
if: ${{ needs.scan_changes.outputs.changed_dirs != '[]' }} && !contains(github.event.pull_request.labels.*.name, 'breaking change allowed')
continue-on-error: true
strategy:
matrix: ${{ fromJson(needs.scan_changes.outputs.changed_dirs) }}
Expand Down