Skip to content

Commit

Permalink
test: checkout pull request via sha instead of ref (integrations#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcudit authored Jan 21, 2022
1 parent 051abef commit 91d2e27
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/dotcom-acceptance-tests-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 2
ref: ${{ github.event.pull_request.head.sha }}
- name: Acceptance Tests (Anonymous)
id: acceptance-tests-anonymous
uses: terraformtesting/acceptance-tests@v2.2.0
Expand Down Expand Up @@ -48,8 +47,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 2
ref: ${{ github.event.pull_request.head.sha }}
- name: Acceptance Tests (Individual)
id: acceptance-tests-individual
uses: terraformtesting/acceptance-tests@v2.2.0
Expand Down Expand Up @@ -82,8 +80,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 2
ref: ${{ github.event.pull_request.head.sha }}

- name: Acceptance Tests (Organization)
id: acceptance-tests-organization
Expand Down

0 comments on commit 91d2e27

Please sign in to comment.