Skip to content

Document has_package_artifact_hash_mismatch policy function#128

Merged
nscuro merged 3 commits into
mainfrom
component-hash-mismatch-policy
Jun 4, 2026
Merged

Document has_package_artifact_hash_mismatch policy function#128
nscuro merged 3 commits into
mainfrom
component-hash-mismatch-policy

Conversation

@nscuro
Copy link
Copy Markdown
Member

@nscuro nscuro commented Jun 4, 2026

Signed-off-by: nscuro <nscuro@protonmail.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Documents the new has_package_artifact_hash_mismatch policy condition function and adds a usage example so policy authors can detect components whose declared hashes differ from upstream repository metadata.

Changes:

  • Adds a new “Hash mismatch with the upstream repository” example using component.has_package_artifact_hash_mismatch().
  • Adds a function reference section for has_package_artifact_hash_mismatch, including return semantics, comparison behavior, and an example table.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/reference/policies/condition-expressions.md Outdated
Comment thread docs/reference/policies/condition-expressions.md
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Niklas <nscuro@protonmail.com>
Copilot AI review requested due to automatic review settings June 4, 2026 19:27
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Niklas <nscuro@protonmail.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread docs/reference/policies/condition-expressions.md
Comment thread docs/reference/policies/condition-expressions.md
@nscuro nscuro merged commit 92aece6 into main Jun 4, 2026
5 checks passed
@nscuro nscuro deleted the component-hash-mismatch-policy branch June 4, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants