Skip to content

Commit

Permalink
fix: Fix use action_path to reference files
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrocher committed May 10, 2023
1 parent 3ca72a0 commit b9018b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ runs:
env:
GH_TOKEN: ${{ github.token }}
shell: bash
- run: pip install -r requirements.txt
- run: pip install -r ${{ github.action_path }}/requirements.txt
shell: bash
- id: generate_body
run: python main.py pr_diff.txt --output-file pr_body.txt --pr-file pr_data.txt
run: python ${{ github.action_path }}/main.py pr_diff.txt --output-file pr_body.txt --pr-file pr_data.txt
shell: bash
env:
OPENAI_API_KEY: ${{inputs.OPENAI_API_KEY}}
Expand Down

0 comments on commit b9018b6

Please sign in to comment.