Skip to content

Commit

Permalink
Remove dependabot and use labeler from common
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Aug 23, 2024
1 parent b47ac12 commit 8af7f87
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 58 deletions.
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/labeler.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/dependabot-auto-merge.yml

This file was deleted.

10 changes: 9 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ jobs:
triage:
permissions:
contents: read
pull-requests: write
pull-requests: write # for actions/labeler to add labels
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
sparse-checkout: |
labeler.yml
sparse-checkout-cone-mode: false
repository: nginxinc/k8s-common

- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
configuration-path: labeler.yml
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
args: [--allow-multiple-documents]
- id: check-ast
- id: check-added-large-files
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
Expand All @@ -22,8 +21,8 @@ repos:
- id: mixed-line-ending
args: [--fix=lf]
- id: no-commit-to-branch
- id: requirements-txt-fixer
- id: fix-byte-order-marker
- id: detect-private-key

- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
Expand All @@ -39,3 +38,6 @@ repos:
rev: v1.35.1
hooks:
- id: yamllint

ci:
autoupdate_schedule: quarterly # We use renovate for more frequent updates and there's no way to disable autoupdate

0 comments on commit 8af7f87

Please sign in to comment.