Skip to content

Commit

Permalink
Shorten "Enforcing this rule..." description text
Browse files Browse the repository at this point in the history
I'm aiming to eliminate redundancy and use consistent language.
  • Loading branch information
simonbaird committed Aug 15, 2023
1 parent 8993ab1 commit 3032dd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion checks/annotations_test.rego
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ opa_inspect_missing_annotations := {
"annotations": [{
"annotations": {
"scope": "rule",
"description": "Check for existence of a task bundle. Enforcing this rule will\nfail the contract if the task is not called from a bundle.",
"description": "Check for existence of a task bundle. This rule will fail if the task is not called from a bundle.",
"custom": {
"flagiure_msg": "Task '%s' does not contain a bundle reference",
"short_name": "disallowed_task_reference",
Expand Down
4 changes: 2 additions & 2 deletions policy/pipeline/task_bundle.rego
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import data.lib.bundles
# METADATA
# title: Task bundle was not used or is not defined
# description: >-
# Check for existence of a task bundle. Enforcing this rule will
# fail the contract if the task is not called from a bundle.
# Check for existence of a task bundle. This rule will
# fail if the task is not called from a bundle.
# custom:
# short_name: disallowed_task_reference
# failure_msg: Pipeline task '%s' does not contain a bundle reference
Expand Down
4 changes: 2 additions & 2 deletions policy/release/attestation_task_bundle.rego
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import data.lib.bundles
# METADATA
# title: Tasks defined using bundle references
# description: >-
# Check for existence of a task bundle. Enforcing this rule will
# fail the contract if the task is not called from a bundle.
# Check for existence of a task bundle. This rule will
# fail if the task is not called from a bundle.
# custom:
# short_name: tasks_defined_in_bundle
# failure_msg: Pipeline task '%s' does not contain a bundle reference
Expand Down

0 comments on commit 3032dd8

Please sign in to comment.