Skip to content

Commit

Permalink
chore: Update renovate configuration to combine deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
hessjcg committed Oct 26, 2023
1 parent 78881ca commit 880585e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
23 changes: 22 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
"^actions/github-script",
"^actions/setup-go",
"^actions/upload-artifact",
"^docker/setup-buildx-action",
"^docker/setup-qemu-action",
"^dorny/paths-filter",
"^github/codeql-action",
"^golang/govulncheck-action",
Expand All @@ -45,7 +47,26 @@
"^micnncim/action-label-syncer",
"^ossf/scorecard-action"
],
"groupName": "dependencies for github"
"groupName": "Github action dependencies"
},
{
"matchPackagePatterns": [
"^kubernetes",
"^k8s.io/client-go",
"^sigs.k8s.io/controller-runtime",
"^sigs.k8s.io/controller-tools"
],
"groupName": "Kubernetes runtime dependencies"
},
{
"matchPackagePatterns": [
"^cert-manager/cert-manager",
"^github.com/elastic/crd-ref-docs",
"^google",
"^google-beta",
"^hashicorp/terraform"
],
"groupName": "Build Tools"
}
],
"force": {
Expand Down
2 changes: 1 addition & 1 deletion .github/trusted-contribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@

annotations:
- type: label
text: "tests: run"
text: "tests: run-unit"

trustedContributors: ['renovate-bot', 'gcf-merge-on-green[bot]']
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ on:
permissions: read-all
jobs:
unit:
if: "${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
if: "${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' || github.event.label.name == 'tests: run-unit' }}"
name: unit tests
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Remove PR Label
if: "${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
if: "${{ github.event.action == 'labeled' && (github.event.label.name == 'tests: run' || github.event.label.name == 'tests: run-unit') }}"
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 880585e

Please sign in to comment.