build(deps): bump ipdxco/reusable-workflow-context from d97024948175c71109e17aa55e62ff0bc9517fa0 to e0cb8a05f123873388b5079c96acfe236f59a870 #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test (ref) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
reusable: | |
uses: ipdxco/reusable-workflow-context/.github/workflows/reusable.yml@main | |
test: | |
name: Test | |
needs: [reusable] | |
runs-on: ubuntu-latest | |
steps: | |
- env: | |
REUSABLE_WORKFLOW_REF: ${{ needs.reusable.outputs.ref }} | |
REUSABLE_WORKFLOW_SHA: ${{ needs.reusable.outputs.sha }} | |
run: | | |
if [[ "$REUSABLE_WORKFLOW_REF" != "refs/heads/main" ]]; then | |
echo "$REUSABLE_WORKFLOW_REF (REUSABLE_WORKFLOW_REF) != refs/heads/main" | |
exit 1 | |
fi | |
if [[ "$REUSABLE_WORKFLOW_SHA" == "" ]]; then | |
echo "$REUSABLE_WORKFLOW_SHA (REUSABLE_WORKFLOW_SHA) == ''" | |
exit 1 | |
fi |