Skip to content

[BUG] Dangerous workflow pattern detected in benchmark workflow #3266

@gaganhr94

Description

@gaganhr94

Describe the bug

 {
      "name": "Dangerous-Workflow",
      "score": 0,
      "reason": "dangerous workflow patterns detected",
      "details": [
        "Warn: untrusted code checkout '${{ github.event.pull_request.merge_commit_sha }}': .github/workflows/benchmark-on-label.yml:29"
      ],
      "documentation": {
        "short": "Determines if the project's GitHub Action workflows avoid dangerous patterns.",
        "url": "https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#dangerous-workflow"
      }
    },

Currently the score for this criteria is 0 in the OpenSSF scorecard. Fixing this will bring up the score to 10.

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