Skip to content

Get entryPoint for the invocation via the Github API#51

Merged
ianlewis merged 7 commits into
slsa-framework:mainfrom
ianlewis:entrypoint
May 27, 2022
Merged

Get entryPoint for the invocation via the Github API#51
ianlewis merged 7 commits into
slsa-framework:mainfrom
ianlewis:entrypoint

Conversation

@ianlewis
Copy link
Copy Markdown
Member

@ianlewis ianlewis commented May 18, 2022

Depends on #47
Fixes #11

Before the change the predicate.invocation.configSource.entryPoint can have name of the user workflow (not the reusable workflow) specified in the workflow yaml:

"predicate": {
    "invocation": {
        "entryPoint": "SLSA provenance"
        ...
      },
...

After this change it's a path to the workflow:

"predicate": {
    "invocation": {
      "configSource": {
        "entryPoint": ".github/workflows/provenance-only.yml"
        ...
      },
...

Copy link
Copy Markdown
Collaborator

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Copy link
Copy Markdown
Member

@joshuagl joshuagl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thanks. Thanks also for showing before and after fragments of the provenance.

@ianlewis ianlewis marked this pull request as ready for review May 27, 2022 00:19
@ianlewis ianlewis requested review from MarkLodato and asraa as code owners May 27, 2022 00:19
@ianlewis ianlewis merged commit 754e8f7 into slsa-framework:main May 27, 2022
@ianlewis ianlewis deleted the entrypoint branch July 27, 2022 01:24
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.

Entrypoint is the workflow name

3 participants