rhysd / actionlint

:octocat: Static checker for GitHub Actions workflow files
https://rhysd.github.io/actionlint/
MIT License
2.7k stars 152 forks source link

input "attestations" is not defined in action "pypa/gh-action-pypi-publish@release/v1" #445

Open hugovk opened 2 weeks ago

hugovk commented 2 weeks ago

Add attestations: true to a pypa/gh-action-pypi-publish step:

    steps:
      - name: Upload package to PyPI
        uses: pypa/gh-action-pypi-publish@release/v1
        with:
          attestations: true

For example:

Fails with:

.github/workflows/deploy.yml:93:11: input "attestations" is not defined in action "pypa/gh-action-pypi-publish@release/v1". available inputs are "packages-dir", "packages_dir", "password", "print-hash", "print_hash", "repository-url", "repository_url", "skip-existing", "skip_existing", "user", "verbose", "verify-metadata", "verify_metadata" [action]
   |
93 |           attestations: true
   |           ^~~~~~~~~~~~~

This was recently added to the action:

Does this need adding to schema store or something?

maikelvdh commented 2 weeks ago

This should be addressed by https://github.com/rhysd/actionlint/pull/446