Skip to content

Fix pending SonarCloud Analysis check for dependabot PR's #261

@noraeb

Description

@noraeb

Subject of the issue

The SonarCloud Analysis step/action in the pipelines of all our backend repositories isn't working properly for dependabot PR's. The check always remains 'pending'. Therefore we can't merge without bypassing.

Your environment

  • Version of CoMPAS: All versions
  • Which browser and its version: N/A (GitHub Actions CI/CD issue)
  • Affected repositories: compas-cim-mapping, compas-scl-auto-alignment, compas-scl-data-service

Steps to reproduce

  1. Create or wait for a dependabot pull request in compas-cim-mapping, compas-scl-auto-alignment, or compas-scl-data-service
  2. Observe the SonarCloud Analysis check in the PR checks
  3. Notice the check remains in pending state

Expected behaviour

The SonarCloud Analysis should run on every pull request (including dependabot PRs) and complete with a pass/fail status, allowing normal merge procedures.

Actual behaviour

The SonarCloud Analysis check stays in 'pending' state indefinitely for dependabot PRs, requiring bypass to merge the pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions