Repository: AgnostiqHQ/covalent-ec2-plugin (language: python)

Issue:
CI: Fix tests workflow in develop
## Acceptance Criteria

- [ ] Ensure `tests` workflow is passing in develop

Refer to this run for details on error:
https://github.com/AgnostiqHQ/covalent-ec2-plugin/actions/runs/3954431078


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
index 24c0f7f..cebe030 100644
--- a/.github/workflows/license.yml
+++ b/.github/workflows/license.yml
@@ -32,14 +32,14 @@ jobs:
         uses: actions/checkout@v3
         with:
           persist-credentials: false
-
+          
       - name: Check Python dependencies license names and type
         id: license_check_report
-        uses: pilosus/action-pip-license-checker
+        uses: pilosus/action-pip-license-checker@main
         with:
           requirements: "requirements.txt"
           fail: "Copyleft,Error,Other"
-          exclude: "^(pylint|aio[-_]*).*"
+          exclude: "^(pylint|aio[-_]*|covalent).*"
           with-totals: true
           table-headers: true
       - name: Print report
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d7f40f7..4c37b28 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [UNRELEASED]
 
+### Fixed
+
+- Centos test workflow by updating git version.
+- License checker workflow.
+
 ## [0.13.0] - 2023-01-19
 
 ### Changed


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 1bafc5e..cc4924e 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -58,10 +58,18 @@ jobs:
     outputs:
       release: ${{ steps.push.outputs.release }}
     steps:
+      - name: Update git version
+        if: matrix.container.image == 'centos/python-38-centos7'
+        run: |
+          yum remove -y git git-*
+          yum install -y https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
+          yum install -y git
+
       - name: Check out head
         uses: actions/checkout@v3
         with:
           persist-credentials: false 
+
       - name: Set up Python
         if: matrix.os == 'macos-latest'
         uses: actions/setup-python@v2
@@ -109,6 +117,7 @@ jobs:
           if [ "$MASTER_VERSION" = "$VERSION" ] ; then
             echo "$VERSION has been previously released."
           else
+            git config --global --add safe.directory $PWD
             git config user.name "CovalentOpsBot"
             git config user.email "covalentopsbot@users.noreply.github.com"
             git remote set-url origin https://${{ secrets.COVALENT_OPS_BOT_TOKEN }}@github.com/AgnostiqHQ/covalent-ec2-plugin.git