Skip to content

Commit

Permalink
Adding env variables in docker run command
Browse files Browse the repository at this point in the history
  • Loading branch information
vishsjoshi committed Nov 22, 2024
1 parent fe9a164 commit 4fba344
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/DEVELOPER_ASSISTANT.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand All @@ -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 }}
Expand Down

0 comments on commit 4fba344

Please sign in to comment.