Skip to content

Commit

Permalink
set env vars for github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gitrey committed Apr 2, 2024
1 parent 0c998b6 commit 75ff392
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/devai-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
name: GenAI For Developers
run-name: Reviewing ${{ github.actor }}'s code changes 🚀
on: [push]
env:
LOCATION: us-central1
PROJECT_ID: genai-cicd
jobs:
DevAI-Reviews:
runs-on: ubuntu-latest
Expand All @@ -24,8 +27,7 @@ jobs:
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GOOGLE_API_CREDENTIALS }}'
project_id: genai-cicd

project_id: genai-cicd
- name: Code Review
run: echo '## Code Review Results 🚀' >> $GITHUB_STEP_SUMMARY
- run: echo "$(devai review code -c ${{ github.workspace }}/sample-app/src/main/java/anthos/samples/bankofanthos/balancereader)" >> $GITHUB_STEP_SUMMARY
Expand All @@ -39,7 +41,4 @@ jobs:
- name: Security Review
run: echo '## Security Review Results 🚀' >> $GITHUB_STEP_SUMMARY
- run: echo "$(devai review security -c ${{ github.workspace }}/sample-app/src/main/java/anthos/samples/bankofanthos/balancereader)" >> $GITHUB_STEP_SUMMARY
shell: bash



shell: bash

0 comments on commit 75ff392

Please sign in to comment.