Skip to content

Commit

Permalink
Set appropriate evaluation expression on input defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
henrychao-rcsb authored Oct 2, 2024
1 parent 1165ce8 commit ed6d8e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/workflow-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
inputs:
mainline_branch:
type: string
default: format('refs/heads/{0}', github.event.repository.default_branch)
default: ${{ format('refs/heads/{0}', github.event.repository.default_branch) }}
description: "The mainline branch for the repo. Deployments to the staging and production environments are done only on push to this branch. Defaults to the repo's default branch."
repo_url:
type: string
Expand Down Expand Up @@ -52,7 +52,7 @@ on:
inputs:
mainline_branch:
type: string
default: format('refs/heads/{0}', github.event.repository.default_branch)
default: ${{ format('refs/heads/{0}', github.event.repository.default_branch) }}
description: "The mainline branch for the repo. Deployments to the staging and production environments are done only on push to this branch. Defaults to the repo's default branch."
repo_url:
type: string
Expand Down Expand Up @@ -206,4 +206,4 @@ jobs:
with:
deployment_name: "${{ inputs.production_k8s_deployment_name }}"
namespace: "production"
region: "${{ matrix.region }}"
region: "${{ matrix.region }}"

0 comments on commit ed6d8e0

Please sign in to comment.