From f6972dce0dbd9a8ec32f728cfa65a38b42f3f243 Mon Sep 17 00:00:00 2001 From: Taylor McKinnon Date: Wed, 15 May 2024 10:26:28 -0700 Subject: [PATCH] impr(UTAPI-101): Remove secrets: inherit from release workflow --- .github/workflows/release.yaml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4ae5a668..1e65d7f5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,6 @@ on: jobs: build: uses: scality/workflows/.github/workflows/docker-build.yaml@v2 - secrets: inherit with: namespace: ${{ github.repository_owner }} name: ${{ github.event.repository.name }} @@ -31,16 +30,16 @@ jobs: file: ${{ github.event.inputs.dockerfile}} tag: ${{ github.event.inputs.tag }} - release: - if: ${{ inputs.create-github-release }} - runs-on: ubuntu-latest - needs: build - steps: - - uses: softprops/action-gh-release@v2 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - name: Release ${{ github.event.inputs.tag }} - tag_name: ${{ github.event.inputs.tag }} - generate_release_notes: true - target_commitish: ${{ github.sha }} + # release: + # if: ${{ inputs.create-github-release }} + # runs-on: ubuntu-latest + # needs: build + # steps: + # - uses: softprops/action-gh-release@v2 + # env: + # GITHUB_TOKEN: ${{ github.token }} + # with: + # name: Release ${{ github.event.inputs.tag }} + # tag_name: ${{ github.event.inputs.tag }} + # generate_release_notes: true + # target_commitish: ${{ github.sha }}