diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index fc11f81..2a1e66c 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -21,10 +21,31 @@ jobs: ssh-key: ${{ secrets.VALE_STYLES_ACCESS_KEY }} - name: copy vale rules to the root repo run: shopt -s dotglob && cp -r ./vale-styles/vale/* . + + - name: detect README file + id: detect + shell: bash + run: | + set -euo pipefail + + found="$(find . -maxdepth 1 -type f -iname 'readme.md' -print | head -n 1 || true)" + + if [[ -z "$found" ]]; then + echo "No README.md found in repo root. Nothing to lint." + echo "files=[]" >> "$GITHUB_OUTPUT" + exit 0 + fi + + found="${found#./}" + + echo "Found README: $found" + echo "files=[\"$found\"]" >> "$GITHUB_OUTPUT" + - name: vale linter check + if: steps.detect.outputs.files != '[]' uses: DevExpress/vale-action@reviewdog with: - files: '["README.md", "readme.md", "Readme.md"]' + files: ${{ steps.detect.outputs.files }} fail_on_error: true filter_mode: nofilter - reporter: github-check + reporter: github-check \ No newline at end of file diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..a88e69e --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @DevExpressExampleBot \ No newline at end of file diff --git a/LICENSE b/LICENSE index f1900ef..7536adc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ This code example is provided "as is" without warranty of any kind. Developer Express Inc ("DevExpress") disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. -For licensing terms and conditions of DevExpress product(s) required for, or associated with the use of this code example, -please refer to the applicable End-User License Agreement at https://www.devexpress.com/Support/licensingfaq.xml \ No newline at end of file +For terms and conditions governing use of DevExpress product libraries, including product libraries used in this sample, +please review the applicable DevExpress End-User License Agreement at the following address: https://www.devexpress.com/Support/licensingfaq.xml \ No newline at end of file diff --git a/Readme.md b/Readme.md index 6852d71..40bffeb 100644 --- a/Readme.md +++ b/Readme.md @@ -41,9 +41,9 @@ Use the [ReportHelper.CreateReport](./CS/GridExportingWithReports/Helpers/Report [How to use DevExpress Reporting Components in Blazor applications](https://github.com/DevExpress-Examples/how-to-use-reporting-components-in-blazor-applications) -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=blazor-server-dxgrid-export&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=blazor-server-dxgrid-export&~~~was_helpful=no) - +## Does This Example Address Your Development Requirements/Objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=blazor-server-grid-export&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=blazor-server-grid-export&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response)