build(deps): bump ipdxco/reusable-workflow-context/.github/workflows/reusable.yml from d97024948175c71109e17aa55e62ff0bc9517fa0 to 52be828bab904ef25366352dae073402bbb58354 #15
This file contains hidden or 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 |