Skip to content

Commit

Permalink
fix: only pass secrets in workflow_call
Browse files Browse the repository at this point in the history
  • Loading branch information
GraceRuan committed Nov 14, 2024
1 parent f0bd03e commit afb6244
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
check_token_expiration:
uses: ./.github/workflows/check-token.yaml
with:
url: ${{ env.BROKER_URL }}
token: ${{ secrets.BROKER_JWT_0E727E83_F027_426A_A31C_D7C1CCEADDF6 }}

build-release:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check-token.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:
inputs:
url:
description: "The Broker URL"
default: https://broker.io.nrs.gov.bc.ca
required: true
type: string
token:
description: "The broker_jwt to check"
description: "The Broker token"
required: true
type: string

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
check_token_expiration:
uses: ./.github/workflows/check-token.yaml
with:
url: https://broker.io.nrs.gov.bc.ca
token: ${{ secrets.BROKER_JWT_0E727E83_F027_426A_A31C_D7C1CCEADDF6 }}

deploy-build:
Expand Down

0 comments on commit afb6244

Please sign in to comment.