diff --git a/.github/actions/setup-secrets/action.yml b/.github/actions/setup-secrets/action.yml deleted file mode 100644 index 95b3def3..00000000 --- a/.github/actions/setup-secrets/action.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Setup Secrets -description: Prepare Snack repository secrets in GitHub Actions - -inputs: - git-crypt-key: - description: The key to unlock the secrets - default: '' - -runs: - using: composite - steps: - - name: 🏗 Setup secrets - if: ${{ inputs.git-crypt-key != '' }} - uses: sliteteam/github-action-git-crypt-unlock@a09ea5079c1b0e1887d4c8d7a4b20f00b5c2d06b - env: - GIT_CRYPT_KEY: ${{ inputs.git-crypt-key }} diff --git a/.github/workflows/snackager-bundle.yml b/.github/workflows/snackager-bundle.yml index 0f4cbb07..b4ac30e5 100644 --- a/.github/workflows/snackager-bundle.yml +++ b/.github/workflows/snackager-bundle.yml @@ -25,11 +25,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup snackager uses: ./.github/actions/setup-snackager diff --git a/.github/workflows/snackager.yml b/.github/workflows/snackager.yml index 2d46618c..5f959526 100644 --- a/.github/workflows/snackager.yml +++ b/.github/workflows/snackager.yml @@ -22,7 +22,6 @@ on: pull_request: paths: - .github/actions/setup-google-cloud/** - - .github/actions/setup-secrets/** - .github/actions/setup-snackager/** - .github/workflows/snackager.yml - snackager/** @@ -37,7 +36,6 @@ on: branches: [main] paths: - .github/actions/setup-google-cloud/** - - .github/actions/setup-secrets/** - .github/actions/setup-snackager/** - .github/workflows/snackager.yml - snackager/** @@ -56,11 +54,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup snackager uses: ./.github/actions/setup-snackager @@ -81,11 +74,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup snackager uses: ./.github/actions/setup-snackager @@ -102,11 +90,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud with: @@ -130,11 +113,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud with: @@ -185,11 +163,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud with: @@ -231,4 +204,3 @@ jobs: status: ${{ job.status }} author_name: Deploy Snackager to Production fields: message,commit,author,job,took - diff --git a/.github/workflows/snackpub.yml b/.github/workflows/snackpub.yml index 0034b465..1d39f0f5 100644 --- a/.github/workflows/snackpub.yml +++ b/.github/workflows/snackpub.yml @@ -22,7 +22,6 @@ on: pull_request: paths: - .github/actions/setup-google-cloud/** - - .github/actions/setup-secrets/** - .github/actions/setup-snackpub/** - .github/workflows/snackpub.yml - snackpub/** @@ -34,7 +33,6 @@ on: branches: [main] paths: - .github/actions/setup-google-cloud/** - - .github/actions/setup-secrets/** - .github/actions/setup-snackpub/** - .github/workflows/snackpub.yml - snackpub/** @@ -50,11 +48,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup snackpub uses: ./.github/actions/setup-snackpub @@ -71,11 +64,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud with: @@ -98,11 +86,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud with: @@ -148,11 +131,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud with: diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 3a3d81df..c1cd704b 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -22,7 +22,6 @@ on: pull_request: paths: - .github/actions/setup-google-cloud/** - - .github/actions/setup-secrets/** - .github/actions/setup-website/** - .github/workflows/website.yml - website/** @@ -36,7 +35,6 @@ on: branches: [main] paths: - .github/actions/setup-google-cloud/** - - .github/actions/setup-secrets/** - .github/actions/setup-website/** - .github/workflows/website.yml - website/** @@ -70,11 +68,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud with: @@ -94,11 +87,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud @@ -119,11 +107,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud with: @@ -174,11 +157,6 @@ jobs: - name: 🏗 Setup repository uses: actions/checkout@v3 - - name: 🏗 Setup secrets - uses: ./.github/actions/setup-secrets - with: - git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} - - name: 🏗 Setup Google Cloud SDK uses: ./.github/actions/setup-google-cloud with: