docs: update post-checkout-command description to reflect it runs eve… #222
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 | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| tags: | |
| - 'v*' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Run test workflow | |
| run : echo | |
| - name: Check branch | |
| id: check_branch | |
| run: | | |
| if [ "$GITHUB_REF" = "refs/heads/main" ];then | |
| echo "main=true" >> $GITHUB_OUTPUT | |
| else | |
| echo "main=false" >> $GITHUB_OUTPUT | |
| fi | |
| - uses: convictional/trigger-workflow-and-wait@v1.6.5 | |
| with: | |
| owner: rcmdnk | |
| repo: python-action-test | |
| github_token: ${{ secrets.PYTHON_ACTION_TEST_TOKEN }} | |
| workflow_file_name: test.yml | |
| propagate_failure: true | |
| client_payload: "{\"head_python_action\": \"${{ steps.check_branch.outputs.main }}\"}" | |