Move shared workflows to .github/workflows

The assumption that shared workflows could be in a non-standard
directory was incorrect. All workflows, included shared ones, need to
be stored it .github/workflows to be valid. These will still not be
called on push to this repo, due to naming standards.

Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: Icd35816c544a1fb9894402a2eedd6be5ec44161e
diff --git a/workflows/verify-maven.yaml b/.github/workflows/verify-maven.yaml
similarity index 98%
rename from workflows/verify-maven.yaml
rename to .github/workflows/verify-maven.yaml
index 13961ef..60f5918 100644
--- a/workflows/verify-maven.yaml
+++ b/.github/workflows/verify-maven.yaml
@@ -88,7 +88,6 @@
       MVN_GLOBAL_SETTINGS:
         description: "Maven global settings configuration."
         required: false
-        default: ${{ vars.GLOBAL_SETTINGS }}
         type: string
       ENV_VARS:
         # yamllint disable-line rule:line-length
diff --git a/workflows/verify-onos-component.yaml b/.github/workflows/verify-onos-component.yaml
similarity index 76%
rename from workflows/verify-onos-component.yaml
rename to .github/workflows/verify-onos-component.yaml
index 265e568..1ab3a78 100644
--- a/workflows/verify-onos-component.yaml
+++ b/.github/workflows/verify-onos-component.yaml
@@ -96,24 +96,24 @@
           mvn-phases: "clean test install spotbugs:check"
           mvn-profiles: "ci-verify"
 
-    vote:
-      if: ${{ always() }}
-      # yamllint enable rule:line-length
-      needs: [prepare, verify-onos-component]
-      runs-on: ubuntu-latest
-      steps:
-        - name: Get conclusion
-          # yamllint disable-line rule:line-length
-          uses: im-open/workflow-conclusion@e4f7c4980600fbe0818173e30931d3550801b992 # v2.2.3
-        - name: Set vote
-          # yamllint disable-line rule:line-length
-          uses: lfreleng-actions/gerrit-review-action@537251ec667665b386f70b330b05446e3fc29087 # v0.9
-          with:
-            host: ${{ vars.GERRIT_SERVER }}
-            username: ${{ vars.GERRIT_SSH_USER }}
-            key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
-            known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
-            gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
-            gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
-            vote-type: ${{ env.WORKFLOW_CONCLUSION }}
-            comment-only: ${{ inputs.comment-only }}
+  vote:
+    if: ${{ always() }}
+    # yamllint enable rule:line-length
+    needs: [prepare, verify-onos-component]
+    runs-on: ubuntu-latest
+    steps:
+      - name: Get conclusion
+        # yamllint disable-line rule:line-length
+        uses: im-open/workflow-conclusion@e4f7c4980600fbe0818173e30931d3550801b992 # v2.2.3
+      - name: Set vote
+        # yamllint disable-line rule:line-length
+        uses: lfreleng-actions/gerrit-review-action@537251ec667665b386f70b330b05446e3fc29087 # v0.9
+        with:
+          host: ${{ vars.GERRIT_SERVER }}
+          username: ${{ vars.GERRIT_SSH_USER }}
+          key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
+          known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
+          gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
+          gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
+          vote-type: ${{ env.WORKFLOW_CONCLUSION }}
+          comment-only: ${{ inputs.comment-only }}
diff --git a/workflows/verify-unit-tests.yaml b/.github/workflows/verify-unit-tests.yaml
similarity index 79%
rename from workflows/verify-unit-tests.yaml
rename to .github/workflows/verify-unit-tests.yaml
index 0f85e7d..54c77b3 100644
--- a/workflows/verify-unit-tests.yaml
+++ b/.github/workflows/verify-unit-tests.yaml
@@ -81,7 +81,7 @@
           gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
           gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
           vote-type: clear
-          comment-only: ${{ inputs.comment-only }}
+          comment-only: false
       - name: Allow replication
         run: sleep 10s
 
@@ -125,24 +125,24 @@
         run: |
           make SHELL="/bin/bash" ${{ matrix.target }}
 
-    vote:
-      if: ${{ always() }}
-      # yamllint enable rule:line-length
-      needs: [prepare, unit-tests]
-      runs-on: ubuntu-latest
-      steps:
-        - name: Get conclusion
-          # yamllint disable-line rule:line-length
-          uses: im-open/workflow-conclusion@e4f7c4980600fbe0818173e30931d3550801b992 # v2.2.3
-        - name: Set vote
-          # yamllint disable-line rule:line-length
-          uses: lfreleng-actions/gerrit-review-action@537251ec667665b386f70b330b05446e3fc29087 # v0.9
-          with:
-            host: ${{ vars.GERRIT_SERVER }}
-            username: ${{ vars.GERRIT_SSH_USER }}
-            key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
-            known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
-            gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
-            gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
-            vote-type: ${{ env.WORKFLOW_CONCLUSION }}
-            comment-only: ${{ inputs.comment-only }}
+  vote:
+    if: ${{ always() }}
+    # yamllint enable rule:line-length
+    needs: [prepare, unit-tests]
+    runs-on: ubuntu-latest
+    steps:
+      - name: Get conclusion
+        # yamllint disable-line rule:line-length
+        uses: im-open/workflow-conclusion@e4f7c4980600fbe0818173e30931d3550801b992 # v2.2.3
+      - name: Set vote
+        # yamllint disable-line rule:line-length
+        uses: lfreleng-actions/gerrit-review-action@537251ec667665b386f70b330b05446e3fc29087 # v0.9
+        with:
+          host: ${{ vars.GERRIT_SERVER }}
+          username: ${{ vars.GERRIT_SSH_USER }}
+          key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
+          known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
+          gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
+          gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
+          vote-type: ${{ env.WORKFLOW_CONCLUSION }}
+          comment-only: false