Skip to content

Commit

Permalink
🔧 (test-harness.yml): add support for dynamically setting the ref bas…
Browse files Browse the repository at this point in the history
…ed on the pull request head sha or the current ref to prevent workflow conflicts
  • Loading branch information
Alejandro Alvarez authored and KushnirykOleh committed Aug 5, 2024
1 parent 30c08b3 commit 8f6855b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-harness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
working-directory: src/test/resources/terraform
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}

# This action will queue the workflow if another workflow is already running
- uses: ahmadnassri/action-workflow-queue@v1
Expand Down

0 comments on commit 8f6855b

Please sign in to comment.