Skip to content

Commit

Permalink
use absolute path for poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Feb 1, 2024
1 parent 09547a9 commit 654ebb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/security-issues/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
- name: Install Python Toolbox / Security tool
shell: bash
run: |
poetry --directory=toolbox install
poetry --directory=$HOME/toolbox install
- name: Create Security Issue Report
shell: bash
Expand All @@ -54,22 +54,22 @@ runs:
- name: Convert Report To Common Input Format
shell: bash
run: |
poetry --directory=toolbox run tbx security cve convert ${{inputs.format}} < input | tee cves.jsonl
poetry --directory=$HOME/toolbox run tbx security cve convert ${{inputs.format}} < input | tee cves.jsonl
- name: Filter Issues
env:
GH_TOKEN: ${{ inputs.github-token }}
shell: bash
run: |
poetry --directory=toolbox run tbx security cve filter github-issues < cves.jsonl 2> filtered.txt | tee issues.jsonl
poetry --directory=$HOME/toolbox run tbx security cve filter github-issues < cves.jsonl 2> filtered.txt | tee issues.jsonl
cat filtered.txt
- name: Create Issues
env:
GH_TOKEN: ${{ inputs.github-token }}
shell: bash
run: |
poetry --directory=toolbox run tbx security cve create --project "${{ inputs.project }}" < issues.jsonl | tee created.jsonl
poetry --directory=$HOME/toolbox run tbx security cve create --project "${{ inputs.project }}" < issues.jsonl | tee created.jsonl
- name: Define Output Parameter
id: get-created-issues
Expand Down

0 comments on commit 654ebb5

Please sign in to comment.