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

Add .YOUR_KEY to C-0077 & C-0076 #514

Merged
merged 9 commits into from
Oct 9, 2023

Conversation

itsmeital
Copy link
Contributor

@itsmeital itsmeital commented Oct 3, 2023

PR Type:

Bug fix


PR Description:

This PR updates the key reference in the label usage rules within two Rego files. The previous placeholder 'YOUR_VALUE' has been replaced with 'YOUR_KEY.YOUR_VALUE' to provide more accurate path information.


PR Main Files Walkthrough:

files:

rules/K8s common labels usage/raw.rego: Updated the sprintf function calls in the 'no_K8s_label_or_no_K8s_label_usage' rules to include '.YOUR_KEY' in the path.
rules/label-usage-for-resources/raw.rego: Updated the sprintf function calls in the 'no_label_or_no_label_usage' rules to include '.YOUR_KEY' in the path.


User Description:

Overview

@codiumai-pr-agent-free
Copy link
Contributor

PR Analysis

  • 🎯 Main theme: Updating key reference in label usage rules
  • 📝 PR summary: This PR updates the key reference in the label usage rules within two Rego files. The previous placeholder 'YOUR_VALUE' has been replaced with 'YOUR_KEY.YOUR_VALUE' to provide more accurate path information.
  • 📌 Type of PR: Bug fix
  • 🧪 Relevant tests added: No
  • ⏱️ Estimated effort to review [1-5]: 2, because the changes are straightforward and limited to two files.
  • 🔒 Security concerns: No security concerns found

PR Feedback

How to use

To invoke the PR-Agent, add a comment using one of the following commands:
/review [-i]: Request a review of your Pull Request. For an incremental review, which only considers changes since the last review, include the '-i' option.
/describe: Modify the PR title and description based on the contents of the PR.
/improve [--extended]: Suggest improvements to the code in the PR. Extended mode employs several calls, and provides a more thorough feedback.
/ask <QUESTION>: Pose a question about the PR.
/update_changelog: Update the changelog based on the PR's contents.

To edit any configuration parameter from configuration.toml, add --config_path=new_value
For example: /review --pr_reviewer.extra_instructions="focus on the file: ..."
To list the possible configuration parameters, use the /config command.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2023

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

2 similar comments
@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2023

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2023

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@itsmeital itsmeital requested review from YiscahLevySilas1 and removed request for YiscahLevySilas1 October 3, 2023 09:27
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

Signed-off-by: Meital Rudnitsky <[email protected]>
Signed-off-by: Meital Rudnitsky <[email protected]>
Signed-off-by: Meital Rudnitsky <[email protected]>
@itsmeital itsmeital force-pushed the SUB-2528_fix-C-0077-C-0076 branch from e542247 to c699eb9 Compare October 8, 2023 13:55
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@itsmeital itsmeital force-pushed the SUB-2528_fix-C-0077-C-0076 branch 2 times, most recently from 314c357 to 8b28919 Compare October 8, 2023 14:00
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

Signed-off-by: Meital Rudnitsky <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

Signed-off-by: Meital Rudnitsky <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

Signed-off-by: Meital Rudnitsky <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@YiscahLevySilas1 YiscahLevySilas1 merged commit f1cf9c1 into master Oct 9, 2023
26 checks passed
@itsmeital itsmeital deleted the SUB-2528_fix-C-0077-C-0076 branch October 9, 2023 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants