From 6096b145ba05a586fabe42a3af76da12c22eb054 Mon Sep 17 00:00:00 2001 From: Ryan Wagner Date: Wed, 24 Jan 2024 17:45:59 -0500 Subject: [PATCH] [BUGS-6560]: Adds testing yml --- .github/workflows/ssh-auth-testing.yml | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ssh-auth-testing.yml diff --git a/.github/workflows/ssh-auth-testing.yml b/.github/workflows/ssh-auth-testing.yml new file mode 100644 index 00000000..0a820a8f --- /dev/null +++ b/.github/workflows/ssh-auth-testing.yml @@ -0,0 +1,31 @@ +name: SSH Auth Testing + +on: + workflow_dispatch: + + +jobs: + create-branch: + runs-on: ubuntu-latest + if: ${{ github.repository == 'pantheon-systems/search_api_pantheon' }} + env: + BRANCH: ${{ github.ref_name }} + WORKSPACE: ${{ github.workspace }} + DRUPAL_ORG_REMOTE: ${{ secrets.DRUPAL_ORG_REMOTE }} + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: ignore + - name: Test SSH Auth + id: test auth + run: | + gh auth status + gh config git +