Skip to content
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

Don't use a special case for message formatting based on policyID #7

Merged
merged 2 commits into from
Dec 3, 2020

Conversation

jalseth
Copy link
Contributor

@jalseth jalseth commented Dec 3, 2020

Instead of handling this case in the action, the format() function should include the policy ID if one is specified, this way the policy ID is shown to the user regardless of where they are running the policy. EG: https://github.com/plexsystems/konstraint/blob/f2e60d22ee5d589ea5e663aa49357e8505c68d81/examples/lib/core.rego#L22-L27

@github-actions
Copy link

github-actions bot commented Dec 3, 2020

Conftest has identified issues with your resources

The following warnings were identified. These are issues that indicate the resources are not following best practices.

  • .github/test/resources/test.yaml - a warning! you should probably fix this

@github-actions
Copy link

github-actions bot commented Dec 3, 2020

Conftest has identified issues with your resources

The following warnings were identified. These are issues that indicate the resources are not following best practices.

  • .github/test/resources/test.yaml - P0000: a warning! you should probably fix this

@jalseth jalseth merged commit 722870f into master Dec 3, 2020
@jalseth jalseth deleted the fix-policyid-formatting branch December 3, 2020 17:31
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