diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 042e62c9ec5..4974d025b29 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,3 +58,4 @@ jobs: TOPIC_FILES: ${{ steps.topics.outputs.changed }} COLLECTION_FILES: ${{ steps.collections.outputs.changed }} TEST_ALL_FILES: ${{ steps.all.outputs.changed }} + SKIP_COLLECTION_API_CHECKS: ${{ matrix.test_type == 'all' && '1' || '' }} diff --git a/test/collections_test.rb b/test/collections_test.rb index 6610ec218a8..0ccd214e4b9 100644 --- a/test/collections_test.rb +++ b/test/collections_test.rb @@ -137,6 +137,10 @@ end it "fails if a user, organization, or repository has been renamed or removed" do + if ENV["SKIP_COLLECTION_API_CHECKS"] + skip "Skipping collection API checks (rename detection handled by collections-renames workflow)" + end + errors = [] repos_to_check = [] users_to_check = []