Skip to content

[BUGS-6560]: Specifies permissions #15

[BUGS-6560]: Specifies permissions

[BUGS-6560]: Specifies permissions #15

name: SSH Auth Testing
on:
workflow_dispatch:
push:
branches:
- 'BUGS-6560-Auth'
permissions:
pull-requests: write
contents: write
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: Test SSH Auth
id: test_auth
run: |
git config --global user.name 'Your Name'
git config --global user.email '[email protected]'
git checkout -b BUGS-6560-REMOVE-ME
git push -u origin BUGS-6560-REMOVE-ME
git push origin --delete BUGS-6560-REMOVE-ME