Skip to content

Commit ae426cf

Browse files
authored
Merge pull request #8 from rivian/dev
unique step ids
2 parents 13d03f2 + d685d7d commit ae426cf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ai-sast.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,20 @@ jobs:
5959

6060
- name: Run AI-SAST PR Scan
6161
if: github.event_name == 'pull_request'
62-
id: scan
62+
id: pr-scan
6363
run: PYTHONPATH=${{ github.workspace }}/ai-sast python -m src.main.pr_scan
6464
env:
6565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6666

6767
- name: Run AI-SAST Full Scan
6868
if: github.event_name == 'workflow_dispatch'
69-
id: scan
69+
id: full-scan
7070
run: PYTHONPATH=${{ github.workspace }}/ai-sast python -m src.main.full_scan --max-workers 1
7171
env:
7272
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7373

7474
- name: Post PR Comment with Results
75-
if: always() && github.event_name == 'pull_request' && steps.scan.outcome != 'skipped'
75+
if: always() && github.event_name == 'pull_request' && steps.pr-scan.outcome != 'skipped'
7676
uses: actions/github-script@v7
7777
with:
7878
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)