Skip to content

Fix lint for attest-build-provenance action #535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

grem11n
Copy link

@grem11n grem11n commented Apr 30, 2025

This should fix a false positive for a popular actions/attest-build-provenance action.

Error message from Super Linter that uses actionlint under the hood:

  ------
  .github/workflows/release.yaml:51:11: input "subject-checksums" is not defined in action "actions/attest-build-provenance@v2". available inputs are "github-token", "push-to-registry", "show-summary", "subject-digest", "subject-name", "subject-path" [action]
     |
  51 |           subject-checksums: ./dist/checksums.txt
     |           ^~~~~~~~~~~~~~~~~~
  ------

Meanwhile, the action README says:

...

    # Path to checksums file containing digest and name of subjects for
    # attestation. Must specify exactly one of "subject-path", "subject-digest",
    # or "subject-checksums".
    subject-checksums:
...

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