From 3338c7531237882f6c67296377a2dd0e092658df Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Sat, 19 Oct 2024 11:30:30 +0700 Subject: [PATCH] .github/workflows: Removed Lucene-Net-Dependency-Conflict-Warning.yml, since we are now publishing projects to individual directories. See: https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/7.0/solution-level-output-no-longer-valid --- ...Lucene-Net-Dependency-Conflict-Warning.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/Lucene-Net-Dependency-Conflict-Warning.yml diff --git a/.github/workflows/Lucene-Net-Dependency-Conflict-Warning.yml b/.github/workflows/Lucene-Net-Dependency-Conflict-Warning.yml deleted file mode 100644 index d8da6c9ddd..0000000000 --- a/.github/workflows/Lucene-Net-Dependency-Conflict-Warning.yml +++ /dev/null @@ -1,45 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# References: -# https://stackoverflow.com/a/58704739 -# https://docs.github.com/en/actions/security-guides/automatic-token-authentication - -name: 'Lucene.Net Dependency Conflict Warning' - -on: - pull_request: - paths: - - '.build/dependencies.props' - - 'src/**/*.csproj' - -jobs: - - comment: - runs-on: ubuntu-latest - steps: - - name: Add warning comment to PR - env: - URL: ${{ github.event.pull_request.comments_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - curl \ - -X POST \ - $URL \ - -H "Content-Type: application/json" \ - -H "Authorization: token $GITHUB_TOKEN" \ - --data '{ "body": ":warning: **IMPORTANT:** This PR may contain changes to dependency versions. The GitHub Actions test runner is not set up to detect dependency version conflicts between projects. To ensure the changes do not cause dependency conflicts, [run the tests for these changes in Azure DevOps](https://github.com/apache/lucenenet#azure-devops) before accepting this pull request. :warning:" }'