Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing the agent - Adding sample file #597

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Adding env variables in docker run command
vishsjoshi committed Nov 22, 2024
commit 4fba344472f2a097d7b7e754179ce83a4d3918a9
12 changes: 6 additions & 6 deletions .github/workflows/DEVELOPER_ASSISTANT.yaml
Original file line number Diff line number Diff line change
@@ -25,9 +25,9 @@ jobs:
- name: Smart Devops PR Agent Action
id: pragent
run: |
export GITHUB_ACTION_AUTO_REVIEW="${GITHUB_ACTION_AUTO_REVIEW}"
export GITHUB_ACTION_AUTO_DESCRIBE="${GITHUB_ACTION_AUTO_DESCRIBE}"
export GITHUB_ACTION_UPDATE_TITLE="${GITHUB_ACTION_UPDATE_TITLE}"
export GITHUB_ACTION_AUTO_REVIEW="${GITHUB_ACTION.AUTO_REVIEW}"
export GITHUB_ACTION_AUTO_DESCRIBE="${GITHUB_ACTION.AUTO_DESCRIBE}"
export GITHUB_ACTION_UPDATE_TITLE="${GITHUB_ACTION.UPDATE_TITLE}"
docker run --rm \
-e GITHUB_CONTEXT="${GITHUB_CONTEXT}" \
-e GITHUB_ACTION.AUTO_REVIEW="${GITHUB_ACTION_AUTO_REVIEW}" \
@@ -47,9 +47,9 @@ jobs:
"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
GITHUB_ACTION_AUTO_REVIEW: true
GITHUB_ACTION_AUTO_DESCRIBE: true
GITHUB_ACTION_UPDATE_TITLE: false
GITHUB_ACTION.AUTO_REVIEW: true
GITHUB_ACTION.AUTO_DESCRIBE: true
GITHUB_ACTION.UPDATE_TITLE: false
PR_NUMBER: ${{ github.event.number }}
API_KEY: ${{ secrets.API_KEY }}
API_BASE: ${{ secrets.API_BASE }}