Skip to content

Commit

Permalink
commit workflow status
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki committed Nov 7, 2024
1 parent 6b15a04 commit 3024900
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/e2e-test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ jobs:
else
echo "run_id=${{ github.event.workflow_run.id }}" >> $GITHUB_OUTPUT
fi
- name: Recognize sha ref
id: sharef
run: |
if [ ${{ github.event_name }} == 'pull_request' ]
then
echo "::set-output name=sha::$(echo ${{github.event.pull_request.head.sha}})"
elif [ ${{ github.event_name }} == 'workflow_run' ]
then
echo "::set-output name=sha::$(echo ${{github.event.workflow_run.head_sha}})"
else
echo "::set-output name=sha::$(echo $GITHUB_SHA)"
fi
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -102,4 +114,9 @@ jobs:
- name: Run Zombienet Test zombie_tanssi_relay_eth_bridge
uses: ./.github/workflow-templates/zombienet-tests
with:
test_name: zombie_tanssi_relay_eth_bridge
test_name: zombie_tanssi_relay_eth_bridge
- name: Commit Action Status
uses: LouisBrunner/[email protected]
with:
sha: ${{ steps.sharef.outputs.sha }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3024900

Please sign in to comment.