-
Notifications
You must be signed in to change notification settings - Fork 905
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
rules: strict checks on hidden files and repository files that are modified #766
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
(needs a rebase)
LGTM label has been added. Git tree hash: f7604229178be9c568a5199b605deee397393199
|
3581fea
to
9915013
Compare
9915013
to
4cc1d10
Compare
/lgtm |
LGTM label has been added. Git tree hash: a694ec47a73fc4a888ac8e4f3d516d296100b3f6
|
… or created Signed-off-by: Lorenzo Fontana <lo@linux.com>
4cc1d10
to
fa138bc
Compare
LGTM label has been added. Git tree hash: e950fc67927b1612c61d2e0f891707f279cbc2a2
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kris-nova, leodido The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Lorenzo Fontana lo@linux.com
What type of PR is this?
/kind rule-update
Any specific area of the project related to this PR?
/area rules
What this PR does / why we need it:
In "Create Hidden Files or Directories", when a directory or a file is created the rule is triggered but it should also trigger when a file or directory is moved to become and hidden one, this PR uses the
modify
macro to do that additional check.In "Update Package Repository" when a directory or a file is updated in the sensitive packages folder the rule is triggered, however it was not triggered when a file is moved into those directories. This PR fixes that using the
modify
macro.Which issue(s) this PR fixes:
NONE
Special notes for your reviewer:
Does this PR introduce a user-facing change?: