Skip to content

Commit

Permalink
Feature/feature/refactor 6 20241103 (#11)
Browse files Browse the repository at this point in the history
* Feature: Add pull request template and update cspell.json for new term

* Feature: Update virtual environment activation path in action.yml

* Feature: Add step to create virtual environment in action.yml
  • Loading branch information
tqer39 authored Nov 2, 2024
1 parent 9f07a49 commit b0bdecc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# About

SSIA
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,16 @@ runs:
uv sync --directory ${{ github.action_path }}
shell: bash

- name: Create virtual environment
run: |
uv create-env --directory ${{ github.action_path }} --name .venv
shell: bash

- name: Generate PR Title and Description
env:
OPENAI_API_KEY: ${{ inputs.openai-api-key }}
run: |
source .venv/bin/activate
source ${{ github.action_path }}/.venv/bin/activate
uv run python ${{ github.action_path }}/scripts/generate_pr_description.py > pr_output.txt
cat pr_output.txt
shell: bash
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"O'oyama",
"OPENAI",
"pydocstyle",
"SSIA",
"Takeru",
"tqer",
"venv"
Expand Down

0 comments on commit b0bdecc

Please sign in to comment.