Naveen S created SPARK-36915:
--------------------------------

             Summary: Pin actions to a full length commit SHA
                 Key: SPARK-36915
                 URL: https://issues.apache.org/jira/browse/SPARK-36915
             Project: Spark
          Issue Type: Bug
          Components: Project Infra
    Affects Versions: 3.1.2
            Reporter: Naveen S


Pinning an action to a full-length commit SHA is currently the only way to use 
an action as
an immutable release. Pinning to a particular SHA helps mitigate the risk of a 
bad actor adding a
backdoor to the action's repository, as they would need to generate a SHA-1 
collision for
a valid Git object payload.

[https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions]

[https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to