Skip to content

Commit

Permalink
Add volume mount for workspace files
Browse files Browse the repository at this point in the history
  • Loading branch information
splashdust committed Apr 12, 2023
1 parent 832ec38 commit cb37e21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v2

- name: Generate pull request summary
uses: splashdust/[email protected].8
uses: splashdust/[email protected].9
with:
token: ${{ secrets.GITHUB_TOKEN }}
openaiApiKey: ${{ secrets.OPENAI_API_KEY }}
Expand Down
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ inputs:
runs:
using: "docker"
image: "Dockerfile"
volumes:
- "/github/workspace:/github/workspace"
args:
- ${{ inputs.token }}
- ${{ inputs.openaiApiKey }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api-lab",
"version": "1.0.0-beta.8",
"version": "1.0.0-beta.9",
"description": "Generate summary for pull requests using OpenAI API",
"main": "index.mjs",
"type": "module",
Expand Down

0 comments on commit cb37e21

Please sign in to comment.