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: sonarqube-scan does not run when merging from dependabot #889

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

FritzHoing
Copy link
Contributor

Description

This MR ensures that merging from dependabot does not send a report to sonarqube

Pull request type

  • Bugfix
  • Feature
  • Dependency updates
  • Tests
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe)

Adjusting github workflows

Do you introduce a breaking change?

  • Yes
  • No

Checklist

  • I understand and agree that the changes in this PR will be licensed under the
    Apache Licence Version 2.0.
  • I have followed the guidelines for contributing.
  • The proposed change fits to the content of the code of conduct.
  • I have added or updated tests and documentation, and the test suite passes (run mvn test locally).
  • I have added a screenshot/screencast to illustrate the visual output of my update.

@@ -66,7 +66,7 @@ jobs:
run: mvn clean verify sonar:sonar --batch-mode -Dsonar.projectKey=SHOGun -Dsonar.login="${{ secrets.SONARQUBE_TOKEN }}" -Preporting

- name: Refresh SonarQube
if: steps.semantic.outputs.new_release_published == 'true'
if: ${{ github.actor != 'dependabot[bot]' && steps.semantic.outputs.new_release_published == 'true'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think }} is missing here

or ${{ isn't needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are absolutely right thank you!

@FritzHoing FritzHoing merged commit 20c3de8 into main Jun 28, 2024
3 of 4 checks passed
Copy link
Contributor

github-actions bot commented Jul 3, 2024

🎉 This issue has been resolved in version 20.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants