From 727813843fc825c74e4924998b7b4de089809e96 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Wed, 29 May 2024 17:51:21 -0400 Subject: [PATCH] drop file sync actions that aren't in use and broken (#216) --- .github/workflows/file-syncer.yaml | 19 -------------- sync/file-syncer-config.yaml | 16 ------------ sync/workflows/synced-go-build.yaml | 14 ----------- sync/workflows/synced-go-test.yaml | 19 -------------- sync/workflows/synced-releasability.yaml | 32 ------------------------ sync/workflows/synced-release-notes.yaml | 28 --------------------- sync/workflows/synced-security.yaml | 17 ------------- sync/workflows/synced-stale.yaml | 14 ----------- sync/workflows/synced-style.yaml | 15 ----------- sync/workflows/synced-verify.yaml | 25 ------------------ 10 files changed, 199 deletions(-) delete mode 100644 .github/workflows/file-syncer.yaml delete mode 100644 sync/file-syncer-config.yaml delete mode 100644 sync/workflows/synced-go-build.yaml delete mode 100644 sync/workflows/synced-go-test.yaml delete mode 100644 sync/workflows/synced-releasability.yaml delete mode 100644 sync/workflows/synced-release-notes.yaml delete mode 100644 sync/workflows/synced-security.yaml delete mode 100644 sync/workflows/synced-stale.yaml delete mode 100644 sync/workflows/synced-style.yaml delete mode 100644 sync/workflows/synced-verify.yaml diff --git a/.github/workflows/file-syncer.yaml b/.github/workflows/file-syncer.yaml deleted file mode 100644 index 575f2c28..00000000 --- a/.github/workflows/file-syncer.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: File Syncer -on: - schedule: - - cron: '0 1 * * 0' # 6am Pacific, Sunday. - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@master - - name: Run GitHub File Syncer - uses: BetaHuhn/repo-file-sync-action@v1 - with: - CONFIG_PATH: "sync/file-syncer-config.yaml" - PR_LABELS: "skip-review" - GIT_EMAIL: "automation@knative.team" - GIT_USERNAME: "Knative Automation" - GH_PAT: ${{ secrets.GH_PAT_FILE_SYNCER }} diff --git a/sync/file-syncer-config.yaml b/sync/file-syncer-config.yaml deleted file mode 100644 index 2c6eb2d9..00000000 --- a/sync/file-syncer-config.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# group: - # Actions excluding releasability - # - repos: | - # knative/test-infra - # files: - # - source: sync/workflows/ - # dest: .github/workflows/ - # exclude: | - # synced-releasability.yaml - - # Releasability action - # - repos: | - # knative/knobots - # files: - # - source: sync/workflows/synced-releasability.yaml - # dest: .github/workflows/synced-releasability.yaml diff --git a/sync/workflows/synced-go-build.yaml b/sync/workflows/synced-go-build.yaml deleted file mode 100644 index bf628dc3..00000000 --- a/sync/workflows/synced-go-build.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2020 The Knative Authors. -# SPDX-License-Identifier: Apache-2.0 - -# This file is automagically synced here from github.com/knative/actions - -name: Build - -on: - pull_request: - branches: [ 'main', 'release-*' ] - -jobs: - build: - uses: knative/actions/.github/workflows/reusable-go-build.yaml@main diff --git a/sync/workflows/synced-go-test.yaml b/sync/workflows/synced-go-test.yaml deleted file mode 100644 index bb55de3c..00000000 --- a/sync/workflows/synced-go-test.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2022 The Knative Authors. -# SPDX-License-Identifier: Apache-2.0 - -# This file is automagically synced here from github.com/knative/actions - -name: Test - -on: - push: - branches: [ 'main', 'release-*' ] - - pull_request: - branches: [ 'main', 'release-*' ] - -jobs: - test: - uses: knative/actions/.github/workflows/reusable-go-test.yaml@main - secrets: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/sync/workflows/synced-releasability.yaml b/sync/workflows/synced-releasability.yaml deleted file mode 100644 index f9448e8c..00000000 --- a/sync/workflows/synced-releasability.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2022 The Knative Authors. -# SPDX-License-Identifier: Apache-2.0 - -# This file is automagically synced here from github.com/knative/actions - -name: 'Releasability' - -on: - schedule: - - cron: '0 1 * * 1-5' # 6am Pacific, weekdays. - - workflow_dispatch: # Manual trigger. - inputs: - releaseFamily: - description: 'Release? (vX.Y)' - required: false - moduleReleaseFamily: - description: 'Module Release? (vX.Y)' - required: false - slackChannel: - description: 'Slack Channel? (release-#)' - required: false - -jobs: - releasability: - uses: knative/actions/.github/workflows/reusable-releasability.yaml@main - with: - releaseFamily: ${{ github.event.inputs.releaseFamily || 'v1.7' }} - moduleReleaseFamily: ${{ github.event.inputs.moduleReleaseFamily || 'v0.34' }} - slackChannel: ${{ github.event.inputs.slackChannel || 'release' }} - secrets: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} diff --git a/sync/workflows/synced-release-notes.yaml b/sync/workflows/synced-release-notes.yaml deleted file mode 100644 index 6b173853..00000000 --- a/sync/workflows/synced-release-notes.yaml +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2020 The Knative Authors. -# SPDX-License-Identifier: Apache-2.0 - -# This file is automagically synced here from github.com/knative/actions - -name: 'Release Notes' - -on: - workflow_dispatch: - inputs: - branch: - description: 'Branch' - required: true - default: 'main' - start-rev: - description: 'Start Tag (defaults to merge-base(branch, prev-branch))' - required: false - end-rev: - description: 'End Tag (defaults to HEAD of the target branch)' - required: false - -jobs: - release-notes: - uses: knative/actions/.github/workflows/reusable-release-notes.yaml@main - with: - branch: ${{ github.event.inputs.branch }} - start-rev: ${{ github.event.inputs.start-rev }} - end-rev: ${{ github.event.inputs.end-rev }} diff --git a/sync/workflows/synced-security.yaml b/sync/workflows/synced-security.yaml deleted file mode 100644 index a18c1b7d..00000000 --- a/sync/workflows/synced-security.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2020 The Knative Authors. -# SPDX-License-Identifier: Apache-2.0 - -# This file is automagically synced here from github.com/knative/actions - -name: 'Security' - -on: - push: - branches: [ 'main', 'release-*' ] - - pull_request: - branches: [ 'main', 'release-*' ] - -jobs: - analyze: - uses: knative/actions/.github/workflows/reusable-security.yaml@main diff --git a/sync/workflows/synced-stale.yaml b/sync/workflows/synced-stale.yaml deleted file mode 100644 index 27889447..00000000 --- a/sync/workflows/synced-stale.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2020 The Knative Authors. -# SPDX-License-Identifier: Apache-2.0 - -# This file is automagically synced here from github.com/knative/actions -name: 'Close stale' - -on: - schedule: - - cron: '0 1 * * *' - -jobs: - - stale: - uses: knative/actions/.github/workflows/reusable-stale.yaml@main diff --git a/sync/workflows/synced-style.yaml b/sync/workflows/synced-style.yaml deleted file mode 100644 index 29ee8ad1..00000000 --- a/sync/workflows/synced-style.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2020 The Knative Authors. -# SPDX-License-Identifier: Apache-2.0 - -# This file is automagically synced here from github.com/knative/actions - -name: Code Style - -on: - pull_request: - branches: [ 'main', 'release-*' ] - -jobs: - - style: - uses: knative/actions/.github/workflows/reusable-style.yaml@main diff --git a/sync/workflows/synced-verify.yaml b/sync/workflows/synced-verify.yaml deleted file mode 100644 index 61c85af5..00000000 --- a/sync/workflows/synced-verify.yaml +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2020 The Knative Authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# This file is automagically synced here from github.com/knative/actions - -name: Verify - -on: - pull_request: - branches: [ 'main', 'release-*' ] - -jobs: - verify: - uses: knative/actions/.github/workflows/reusable-verify-codegen.yaml@main