From c49a573a31b9cdedd4b4a89b2702aa47fb1a4f9a Mon Sep 17 00:00:00 2001 From: Jean du Plessis Date: Wed, 30 Oct 2024 16:44:18 +0200 Subject: [PATCH] Remove workflows no longer needed. Signed-off-by: Jean du Plessis --- .github/workflows/scan.yml | 52 ------------------------------------- .github/workflows/updoc.yml | 16 ------------ 2 files changed, 68 deletions(-) delete mode 100644 .github/workflows/scan.yml delete mode 100644 .github/workflows/updoc.yml diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml deleted file mode 100644 index cd5c9bd..0000000 --- a/.github/workflows/scan.yml +++ /dev/null @@ -1,52 +0,0 @@ -# SPDX-FileCopyrightText: 2024 The Crossplane Authors -# -# SPDX-License-Identifier: CC0-1.0 - -name: Scan - - -on: - workflow_dispatch: - inputs: - supported_releases_number: - description: 'Number of supported releases' - type: number - default: 1 - schedule: - # run every day at 3:07am UTC - - cron: '7 3 * * *' - -permissions: - security-events: write - -env: - SUPPORTED_RELEASES_NUMBER: '1' - # comma separated list of images, without tag - IMAGES: "xpkg.upbound.io/upbound/provider-azuread" - -jobs: - setup-vars: - runs-on: ubuntu-24.04 - outputs: - supported_releases_number: ${{ steps.setup.outputs.supported_releases_number }} - images: ${{ steps.setup.outputs.images }} - steps: - - name: Setup outputs - shell: bash - id: setup - run: | - supported_releases_number="${{ fromJSON(inputs.supported_releases_number || env.SUPPORTED_RELEASES_NUMBER) }}" - echo "supported_releases_number=${supported_releases_number}" >> $GITHUB_OUTPUT - - images="${{ env.IMAGES }}" - echo "images=${images}" >> $GITHUB_OUTPUT - - echo "We are going to scan the last ${supported_releases_number} releases for: ${images}" - - scan: - uses: upbound/official-providers-ci/.github/workflows/scan.yml@standard-runners - needs: - - setup-vars - with: - images: ${{ needs.setup-vars.outputs.images }} - supported_releases: ${{ fromJSON(needs.setup-vars.outputs.supported_releases_number) }} diff --git a/.github/workflows/updoc.yml b/.github/workflows/updoc.yml deleted file mode 100644 index 6a91280..0000000 --- a/.github/workflows/updoc.yml +++ /dev/null @@ -1,16 +0,0 @@ -# SPDX-FileCopyrightText: 2024 The Crossplane Authors -# -# SPDX-License-Identifier: CC0-1.0 - -name: Updoc - -on: - workflow_dispatch: {} - -jobs: - publish-docs: - uses: upbound/official-providers-ci/.github/workflows/provider-updoc.yml@standard-runners - with: - go-version: 1.21 - secrets: - UPBOUND_CI_PROD_BUCKET_SA: ${{ secrets.UPBOUND_CI_PROD_BUCKET_SA }} \ No newline at end of file