skip ssh on dependabot PRs
This commit is contained in:
parent
54c172b69a
commit
fda4cc8096
1 changed files with 3 additions and 3 deletions
6
.github/workflows/pr_checks.yaml
vendored
6
.github/workflows/pr_checks.yaml
vendored
|
|
@ -275,7 +275,7 @@ jobs:
|
||||||
cd core
|
cd core
|
||||||
npm test
|
npm test
|
||||||
env:
|
env:
|
||||||
IGNORE_API_KEY_TESTS: ${{ github.event.pull_request.head.repo.fork }}
|
IGNORE_API_KEY_TESTS: ${{ github.event.pull_request.head.repo.fork == true && github.actor == 'dependabot[bot]' }}
|
||||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
||||||
|
|
@ -436,7 +436,7 @@ jobs:
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
ssh-keyscan -H "$SSH_HOST" >> ~/.ssh/known_hosts
|
ssh-keyscan -H "$SSH_HOST" >> ~/.ssh/known_hosts
|
||||||
echo -e "Host ssh-test-container\n\tHostName $SSH_HOST\n\tUser ec2-user\n\tIdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
|
echo -e "Host ssh-test-container\n\tHostName $SSH_HOST\n\tUser ec2-user\n\tIdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
|
||||||
if: ${{ github.event.pull_request.head.repo.fork == false }}
|
if: ${{ github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' }}
|
||||||
|
|
||||||
- name: Set up Xvfb
|
- name: Set up Xvfb
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -446,7 +446,7 @@ jobs:
|
||||||
- name: Run e2e tests
|
- name: Run e2e tests
|
||||||
run: |
|
run: |
|
||||||
cd extensions/vscode
|
cd extensions/vscode
|
||||||
IGNORE_SSH_TESTS="${{ github.event.pull_request.head.repo.fork }}" TEST_FILE="${{ matrix.test_file }}" npm run ${{ matrix.command }}
|
IGNORE_SSH_TESTS="${{ github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' }}" TEST_FILE="${{ matrix.test_file }}" npm run ${{ matrix.command }}
|
||||||
env:
|
env:
|
||||||
DISPLAY: :99
|
DISPLAY: :99
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue