From 4bb58181e837f3e4702c530bf8ed16b051836f68 Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Sun, 29 Oct 2023 13:47:52 -0500 Subject: [PATCH] fix(CI): Break up workflows and use templates --- .github/workflows/test-default.yml | 5 +++++ .github/workflows/test-ipv6.yml | 5 +++++ .github/workflows/test-single-node.yml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/.github/workflows/test-default.yml b/.github/workflows/test-default.yml index facbb4f1..b0d54477 100644 --- a/.github/workflows/test-default.yml +++ b/.github/workflows/test-default.yml @@ -14,4 +14,9 @@ jobs: env: PYTHON_VERSION: "3.11" steps: + - name: Check out the codebase + uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0 + with: + ref: ${{ github.event.pull_request.head.sha }} + - uses: ./.github/workflows/molecule-template.yml diff --git a/.github/workflows/test-ipv6.yml b/.github/workflows/test-ipv6.yml index 9e6538cc..142620d7 100644 --- a/.github/workflows/test-ipv6.yml +++ b/.github/workflows/test-ipv6.yml @@ -14,4 +14,9 @@ jobs: env: PYTHON_VERSION: "3.11" steps: + - name: Check out the codebase + uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0 + with: + ref: ${{ github.event.pull_request.head.sha }} + - uses: ./.github/workflows/molecule-template.yml diff --git a/.github/workflows/test-single-node.yml b/.github/workflows/test-single-node.yml index 8bd29b36..9bb38f76 100644 --- a/.github/workflows/test-single-node.yml +++ b/.github/workflows/test-single-node.yml @@ -14,4 +14,9 @@ jobs: env: PYTHON_VERSION: "3.11" steps: + - name: Check out the codebase + uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0 + with: + ref: ${{ github.event.pull_request.head.sha }} + - uses: ./.github/workflows/molecule-template.yml