Skip to content

Suggested guidance for replacing detect-workflow-js #4516

Description

@ericcornelissen

In the spirit of

> We are working on guidance and simpler tooling to replace it.

I found1 that using the job context is an alternative to using slsa-framework/slsa-github-generator/.github/actions/detect-workflow-js. In particular, the outputs of that action map to this context as follows

Output name Replacement
repository ${{ job.workflow_repository }}
ref ${{ job.workflow_sha }}
workflow ${{ job.workflow_file_path }}

Footnotes

  1. see https://github.com/sigstore/rekor-monitor/pull/1021

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions