From a9e6fcee564bdbed5aec358be5260ae95215a57e Mon Sep 17 00:00:00 2001 From: Joss Whittle Date: Thu, 8 Feb 2024 17:33:19 +0000 Subject: [PATCH] Revert "fix: add a secret for the token to clone the workflows repo (#103)" (#104) --- .github/workflows/charts.yaml | 1 - .github/workflows/containers.yaml | 2 -- .github/workflows/pr-and-release-chart.yaml | 5 ----- .github/workflows/pr-and-release-container.yaml | 5 ----- 4 files changed, 13 deletions(-) diff --git a/.github/workflows/charts.yaml b/.github/workflows/charts.yaml index cddd69f2..df21085e 100644 --- a/.github/workflows/charts.yaml +++ b/.github/workflows/charts.yaml @@ -52,7 +52,6 @@ jobs: cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }} cosign-password: ${{ secrets.COSIGN_PASSWORD }} registry-token: ${{ secrets.HARBOR_TOKEN }} - workflows-token: ${{ secrets.WORKFLOWS_TOKEN }} slack-token: ${{ secrets.SLACK_TOKEN }} workflows: diff --git a/.github/workflows/containers.yaml b/.github/workflows/containers.yaml index ec7c93e1..cc48d26f 100644 --- a/.github/workflows/containers.yaml +++ b/.github/workflows/containers.yaml @@ -49,7 +49,6 @@ jobs: cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }} cosign-password: ${{ secrets.COSIGN_PASSWORD }} registry-token: ${{ secrets.HARBOR_TOKEN }} - workflows-token: ${{ secrets.WORKFLOWS_TOKEN }} slack-token: ${{ secrets.SLACK_TOKEN }} container-whalesay2: @@ -69,7 +68,6 @@ jobs: cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }} cosign-password: ${{ secrets.COSIGN_PASSWORD }} registry-token: ${{ secrets.HARBOR_TOKEN }} - workflows-token: ${{ secrets.WORKFLOWS_TOKEN }} slack-token: ${{ secrets.SLACK_TOKEN }} workflows: diff --git a/.github/workflows/pr-and-release-chart.yaml b/.github/workflows/pr-and-release-chart.yaml index f6edffcd..587fec8a 100644 --- a/.github/workflows/pr-and-release-chart.yaml +++ b/.github/workflows/pr-and-release-chart.yaml @@ -102,10 +102,6 @@ on: description: "Authentication token for the chart registry." required: true - workflows-token: - description: "Authentication token for the workflows repository." - required: true - cosign-private-key: description: "Private key for cosigning charts." required: false @@ -133,7 +129,6 @@ jobs: uses: actions/checkout@v3 with: repository: SwanseaUniversityMedical/workflows - token: ${{ secrets.workflows-token }} ref: ${{ steps.workflows-ref.outputs.sha }} path: .tmp sparse-checkout: | diff --git a/.github/workflows/pr-and-release-container.yaml b/.github/workflows/pr-and-release-container.yaml index fed901fc..a468b696 100644 --- a/.github/workflows/pr-and-release-container.yaml +++ b/.github/workflows/pr-and-release-container.yaml @@ -117,10 +117,6 @@ on: description: "Authentication token for the container registry." required: true - workflows-token: - description: "Authentication token for the workflows repository." - required: true - cosign-private-key: description: "Private key for cosigning images." required: false @@ -148,7 +144,6 @@ jobs: uses: actions/checkout@v3 with: repository: SwanseaUniversityMedical/workflows - token: ${{ secrets.workflows-token }} ref: ${{ steps.workflows-ref.outputs.sha }} path: .tmp sparse-checkout: |