Skip to content

Commit

Permalink
Merge pull request #893 from stacklok/dockerfile_no_latest_tag_main
Browse files Browse the repository at this point in the history
dockerfile_no_latest_tag rule: Use main branch, not master
  • Loading branch information
JAORMX authored Sep 7, 2023
2 parents dd138e7 + 26dbcef commit 894173d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/github/rule-types/dockerfile_no_latest_tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def:
ingest:
type: git
git:
branch: master
branch: main
# Defines the configuration for evaluating data ingested against the given policy
# This example uses the checks for that github actions are using pinned tags
# for the uses directive, in the form of SHA-1 hash
Expand All @@ -48,4 +48,4 @@ def:
endswith(from_line, ":latest")
msg := sprintf("Dockerfile contains 'latest' tag in import: %s", [from_line])
}
}

0 comments on commit 894173d

Please sign in to comment.