From 7fd46d0dc3322bffda7868a834afb22e7645cf39 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 24 Jul 2023 18:19:17 -0700 Subject: [PATCH] Move configs to central repo The deleted workflow and configs were moved to a central repo. --- .github/dependency-review-config.yml | 13 ----- .github/labels.yml | 75 ------------------------- .github/workflows/dependency-review.yml | 2 +- .github/workflows/sync.yml | 40 ------------- 4 files changed, 1 insertion(+), 129 deletions(-) delete mode 100644 .github/dependency-review-config.yml delete mode 100644 .github/labels.yml delete mode 100644 .github/workflows/sync.yml diff --git a/.github/dependency-review-config.yml b/.github/dependency-review-config.yml deleted file mode 100644 index ffa2fec090..0000000000 --- a/.github/dependency-review-config.yml +++ /dev/null @@ -1,13 +0,0 @@ -allow_licenses: - - Apache-1.1 - - Apache-2.0 - - BSD-2-Clause - - BSD-3-Clause - - BSL-1.0 - - ISC - - MIT - - NCSA - - OpenSSL - - Python-2.0 - - X11 -comment-summary-in-pr: true diff --git a/.github/labels.yml b/.github/labels.yml deleted file mode 100644 index 9f2ec6347e..0000000000 --- a/.github/labels.yml +++ /dev/null @@ -1,75 +0,0 @@ -- color: 77BC7C - description: Pull requests/issues that are backlog items - name: backlog -- color: A90EA3 - description: Pull requests/issues that are candidates to be backlog items - name: backlog candidate -- color: fc2929 - description: An issue reporting a potential bug - name: bug -- color: b60205 - description: Pull requests that introduce a change - name: change -- color: 3a2716 - description: Pull requests for routine tasks - name: chore -- color: 0366d6 - description: Pull requests that update a dependency file - name: dependencies -- color: 21ceff - description: Pull requests that update Docker code - name: docker -- color: c5def5 - description: Pull requests/issues for documentation - name: documentation -- color: 84b6eb - description: Pull requests for new features/feature enhancements - name: enhancement -- color: "000000" - description: Pull requests that update Github_actions code - name: github_actions -- color: 16e2e2 - description: Pull requests that update Go code - name: go -- color: 5319E7 - description: Issues identified as good for first-time contributors - name: good first issue -- color: 0e8a16 - description: Pull requests that update the Helm Chart - name: helm_chart -- color: FBCA04 - description: Issues identified as good community contribution opportunities - name: help wanted -- color: c5def5 - description: Gathering information - name: in review -- color: 68E39B - description: Issues that require more information - name: needs more info -- color: F345AD - description: Issues that are not in scope - name: out of scope -- color: db754c - description: An issue that proposes a feature request - name: proposal -- color: 2b67c6 - description: Pull requests that update Python code - name: python -- color: cc317c - description: An issue asking a question - name: question -- color: FEF2C0 - description: Pull requests that don't need to be added to the changelog - name: skip changelog -- color: 8E7888 - description: Pull requests/issues with no activity - name: stale -- color: A4EF7D - description: Pull requests that update tests - name: tests -- color: C2E0C6 - description: Waiting for author's response - name: waiting for response -- color: ffffff - description: An issue that does not need to be fixed - name: wontfix diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 8da97a1964..bc91de1059 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -25,4 +25,4 @@ jobs: - name: "Dependency Review" uses: actions/dependency-review-action@1360a344ccb0ab6e9475edef90ad2f46bf8003b1 # v3.0.6 with: - config-file: "./.github/dependency-review-config.yml" + config-file: "nginxinc/k8s-common/dependency-review-config.yml@main" diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml deleted file mode 100644 index 6ab2a022e6..0000000000 --- a/.github/workflows/sync.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Sync labels - -on: - schedule: - - cron: "8 0 * * 1" # run every Monday at 00:08 UTC - workflow_dispatch: - -concurrency: - group: ${{ github.ref_name }}-sync - cancel-in-progress: true - -permissions: - contents: read - -jobs: - # This job sync the labels across the various repos - labels-sync: - runs-on: ubuntu-22.04 - if: ${{ github.event.repository.fork == false }} - permissions: - contents: write # for micnncim/action-label-syncer - strategy: - fail-fast: false - matrix: - repo: - - nginxinc/kubernetes-ingress - - nginxinc/nginx-ingress-helm-operator - - nginxinc/nginx-prometheus-exporter - - nginxinc/nginx-plus-go-client - - nginxinc/nginx-asg-sync - steps: - - name: Checkout - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - - name: Sync Labels - uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0 - with: - repository: ${{ matrix.repo }} - token: ${{ secrets.NGINX_PAT }} - prune: true