Skip to content

Pin nested action dependencies - #19

Open
cwperks wants to merge 1 commit into
derek-ho:mainfrom
cwperks:pin-nested-actions
Open

cwperks wants to merge 1 commit into
derek-ho:mainfrom
cwperks:pin-nested-actions

Conversation

@cwperks

@cwperks cwperks commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Description

Pins or removes nested action dependencies so repositories with full-SHA action policies can use this composite action.

Changes:

  • Pins actions/setup-java to the full commit SHA for v5.
  • Replaces peternied/download-file with shell download steps using Invoke-WebRequest on Windows and curl on Linux.
  • Replaces peternied/action-sleep with a shell sleep step.

This avoids failures in consumers such as opensearch-project/security, where GitHub rejects nested references like actions/setup-java@v4, peternied/download-file@v3, and peternied/action-sleep@v1 because all actions must be pinned to a full-length commit SHA.

Testing

  • Inspected action.yml for remaining executable tag-based uses: references.

Signed-off-by: Craig Perkins <craig5008@gmail.com>
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.

1 participant