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

Update reusable action version to latest available #101

Closed

Conversation

matthewmyrick
Copy link

@matthewmyrick matthewmyrick commented Feb 18, 2025

Part of

Update version to use latest SonarSource/sonarqube-scan-action

currently getting this error on our runners due to a depreciated cache version action that has been resolved in the reusable action but not updated yet on the reusable workflow

image

the PR that fixed the change on the reusable action side SonarSource/sonarqube-scan-action#161

Copy link

@builder555 builder555 left a comment

Choose a reason for hiding this comment

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

👍

Copy link

@abaiju15 abaiju15 left a comment

Choose a reason for hiding this comment

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

@pierre-guillot-gh do you mind taking a look here please?

Copy link

@gansel51 gansel51 left a comment

Choose a reason for hiding this comment

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

Great improvement, thanks for this!

@matheusccruz
Copy link

matheusccruz commented Feb 18, 2025

Hello Guys

What do you need to merge this? I'm with the same problem in my application

@dalloglio
Copy link

There is a warning on SonarCloud GitHub Action indicating that this action is deprecated.

To ensure compatibility and avoid disruptions in our CI/CD workflows, it is recommended to migrate to the new SonarQube Scan Action, which is a drop-in replacement for the deprecated action.

Replace sonarcloud-github-action with sonarqube-scan-action in our workflows.

@matthewmyrick
Copy link
Author

There is a warning on SonarCloud GitHub Action indicating that this action is deprecated.

To ensure compatibility and avoid disruptions in our CI/CD workflows, it is recommended to migrate to the new SonarQube Scan Action, which is a drop-in replacement for the deprecated action.

Replace sonarcloud-github-action with sonarqube-scan-action in our workflows.

I missed this, thank you for pointing it out. I will close the PR and change my code to use the new composite action.

@pierre-guillot-gh
Copy link
Contributor

Hey folks, thanks for raising this. This is caused by GH brownout of the actions/cache deprecated version. Github Deprecation Notice is here. Right now, we are on the brownout number three:

  • February 18, 2pm – 10pm UTC

Which gives you a few options to solve the problem without waiting for a patch:

  1. Wait for 10pm UTC
  2. If you cannot wait, switch to sonarqube-scan-action: it now support both SonarQube and SonarCloud. sonarcloud-github-action is actually deprecated, so I encourage you to switch to the new unified action as soon as possible. Under the hood, the sonarcloud action already use the sonarqube one, here, so you should be able to upgrade smoothly.

Warning
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.

We will patch sonarcloud-github-action to use the newer version of sonarqube-scan-action later this week.

@pierre-guillot-gh
Copy link
Contributor

I confirm the Brownout period is now finished and the action is working again as expected. I still encourage you to switch the new app at you earliest convenience.

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

Successfully merging this pull request may close these issues.