Skip to content

[BUGS-6560]: Adds on-push activation #1

[BUGS-6560]: Adds on-push activation

[BUGS-6560]: Adds on-push activation #1

name: SSH Auth Testing
on:
workflow_dispatch:
push:
branches:
- 'BUGS-6560-Auth'
jobs:
test-ssh-auth:
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

Check failure on line 30 in .github/workflows/ssh-auth-testing.yml

View workflow run for this annotation

GitHub Actions / SSH Auth Testing

Invalid workflow file

The workflow is not valid. .github/workflows/ssh-auth-testing.yml (Line: 30, Col: 13): The identifier 'test auth' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
run: |
gh auth status
gh config git