Skip to content

Commit

Permalink
index-resources: update IS_WORKFLOW_CALL to default to false
Browse files Browse the repository at this point in the history
When the workflow is not triggered by `workflow_call`, then the
`is-workflow-call` input sets the `IS_WORKFLOW_CALL` environment
variable to an empty string. This commit explicitly sets the
default value for `IS_WORKFLOW_CALL` to `false` so that
`./scripts/get-resource-index-ref-matrix` can run the appropriate steps.

Follow up to #865.
  • Loading branch information
joverlee521 committed May 16, 2024
1 parent a1df508 commit 11fbc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/index-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
name: Create ref matrix
env:
HEROKU_TOKEN: ${{ secrets.HEROKU_TOKEN_READ_PROTECTED }}
IS_WORKFLOW_CALL: ${{ inputs.is-workflow-call }}
IS_WORKFLOW_CALL: ${{ inputs.is-workflow-call || false }}
run: |
echo "ref-matrix=$(./scripts/get-resource-index-ref-matrix)" | tee -a "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 11fbc22

Please sign in to comment.