Skip to content

Commit

Permalink
Use short SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-tom committed Oct 31, 2023
1 parent 3db41ea commit d4acd7f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Generate short SHA
uses: benjlevesque/short-sha@v2.2
id: short-sha
with:
length: 9

- name: Wait for Docker image to be created
uses: lewagon/wait-on-check-action@v1.3.1
with:
Expand All @@ -22,7 +28,7 @@ jobs:
uses: aurelien-baudet/workflow-dispatch@v2
id: workflow_dispatch
with:
inputs: '{ "connector": "${{ github.sha }}" }'
inputs: '{ "connector": "${{ steps.short-sha.outputs.sha }}" }'
repo: hasura/v3-e2e-testing
ref: main
token: ${{ secrets.E2E_WORKFLOW_PAT }}
Expand Down

0 comments on commit d4acd7f

Please sign in to comment.