Skip to content

Commit

Permalink
update dangerfile to ignore meta parent policy templates when looking…
Browse files Browse the repository at this point in the history
… for new datasources
  • Loading branch information
nia-vf1 committed Feb 13, 2024
1 parent fd9dffd commit c91c0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ end
# print warning if new datasource is added to ensure the README permissions have been updated
permissions_verified_pt_file_yaml = YAML.load_file('tools/policy_master_permission_generation/validated_policy_templates.yaml')
has_app_changes.each do |file|
if file.end_with? ".pt" && !file.end_with? "_meta_parent.pt"
if file.end_with?(".pt") && !file.end_with?("_meta_parent.pt")
# Get the diff to see only the new changes
diff = git.diff_for_file(file)

Expand Down

0 comments on commit c91c0d2

Please sign in to comment.