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

ci: Ensure SonarCloud is not triggered on website or documentation updates #873

Closed
NightOwl888 opened this issue Oct 14, 2023 · 3 comments · Fixed by NightOwl888/lucenenet#29 or #913
Assignees

Comments

@NightOwl888
Copy link
Contributor

Our GitHub Actions for building components are not triggered for website or documentation updates, but SonarCloud currently doesn't have the filters to ignore the files that are not part of the software. To remedy this, the following exclusions should be made to the paths of the sonar.yml workflow:

  • '!.editorconfig'
  • '!.gitattributes'
  • '!.rat-excludes'
  • '!azure-pipelines.yml'
  • '!build'
  • '!build.bat'
  • '!**/*.md'
  • '!**/*.ps1'
  • '!**/*.psd1'
  • '!**/*.psm1'
  • '!**/*.txt'
  • '!/.build/azure-templates/**/*'
  • '!/.build/psake/**/*'
  • '!/.vscode/**/*'
  • '!/branding/**/*'
  • '!/lib/**/*'
  • '!/src/docs/**/*'
  • '!/websites/**/*'
@NightOwl888 NightOwl888 added up-for-grabs This issue is open to be worked on by anyone good-first-issue Good for newcomers is:enhancement New feature or request pri:normal hacktoberfest-accepted labels Oct 14, 2023
@farQtech
Copy link

Hi @NightOwl888, I am interested in taking up this task. Kindly assign it to me.

@NightOwl888 NightOwl888 removed up-for-grabs This issue is open to be worked on by anyone good-first-issue Good for newcomers labels Oct 19, 2023
@NightOwl888
Copy link
Contributor Author

I have assigned it to you. Thanks.

@NightOwl888
Copy link
Contributor Author

@farQtech - Are you still interested in doing this? If not, please let us know so we can assign it to someone else. Thanks.

@NightOwl888 NightOwl888 assigned NightOwl888 and unassigned farQtech Feb 10, 2024
NightOwl888 added a commit to NightOwl888/lucenenet that referenced this issue Feb 10, 2024
…ntation, and website updates from triggering the scan. Fixes apache#873.
NightOwl888 added a commit to NightOwl888/lucenenet that referenced this issue Feb 10, 2024
.github/workflows/sonar.yml: Added paths-ignore to exclude CI, docume…
NightOwl888 added a commit to NightOwl888/lucenenet that referenced this issue Feb 10, 2024
…, and website updates from triggering the scan. Fixes apache#873.
NightOwl888 added a commit that referenced this issue Feb 10, 2024
…, and website updates from triggering the scan. Fixes #873.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment