Skip to content

Commit

Permalink
fix: inherit secrets in reusable workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoaldamav committed Nov 2, 2023
1 parent 8901797 commit c2682ca
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,7 @@ jobs:
windows-tests:
needs: [require-approval, get-team-members]
uses: ./.github/workflows/windows.yml
with:
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
GCP_USER: ${{ secrets.GCP_USER }}
GCP_MAIL: ${{ secrets.GCP_MAIL }}
secrets:
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
GCP_USER: ${{ secrets.GCP_USER }}
GCP_MAIL: ${{ secrets.GCP_MAIL }}
secrets: inherit

macos-tests:
needs: [require-approval, get-team-members]
Expand All @@ -87,13 +78,4 @@ jobs:
linux-tests:
needs: [require-approval, get-team-members]
uses: ./.github/workflows/linux.yml
with:
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
GCP_USER: ${{ secrets.GCP_USER }}
GCP_MAIL: ${{ secrets.GCP_MAIL }}
secrets:
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
GCP_USER: ${{ secrets.GCP_USER }}
GCP_MAIL: ${{ secrets.GCP_MAIL }}
secrets: inherit

0 comments on commit c2682ca

Please sign in to comment.