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

Excavator: Update policy-bot config #605

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions .policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ policy:
- two admins have approved
- changelog only and contributor approval
- fixing excavator
- excavator only touched baseline, circle, gradle files, godel files, go dependencies, docker-compose-rule config or versions.props
- excavator only touched baseline, circle, gradle files, godel files, docker-compose-rule config or versions.props
- excavator only touched config files
- bots updated package.json and lock files
disapproval:
Expand Down Expand Up @@ -50,7 +50,7 @@ approval_rules:
has_author_in:
users: [ "svc-excavator-bot" ]

- name: excavator only touched baseline, circle, gradle files, godel files, go dependencies, docker-compose-rule config or versions.props
- name: excavator only touched baseline, circle, gradle files, godel files, docker-compose-rule config or versions.props
requires:
count: 0
if:
Expand All @@ -65,22 +65,15 @@ approval_rules:
- "^\\.circleci/.*$"
- "^\\.docker-compose-rule\\.yml$"
- "^.*gradle$"
- "^\\.palantir/go-version$"
- "^gradle/wrapper/.*"
- "^gradlew$"
- "^gradlew.bat$"
- "^gradle.properties$"
- "^settings.gradle$"
- "^go.mod$"
- "^go.sum$"
- "^godelw$"
- "^godel/config/godel.properties$"
- "^godel/config/godel.yml$"
- "^vendor/.*$"
- "^versions.props$"
- "^versions.lock$"
has_valid_signatures_by_keys:
key_ids: ["C9AF124A484882E0"]

- name: excavator only touched config files
requires:
Expand All @@ -92,8 +85,6 @@ approval_rules:
paths:
- "^\\..*.yml$"
- "^\\.github/.*$"
has_valid_signatures_by_keys:
key_ids: ["C9AF124A484882E0"]

- name: bots updated package.json and lock files
requires:
Expand All @@ -107,5 +98,3 @@ approval_rules:
paths:
- "^.*yarn.lock$"
- "^.*package.json$"
has_valid_signatures_by_keys:
key_ids: ["C9AF124A484882E0"]