Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Perdiga committed Oct 17, 2024
1 parent cad502b commit 4b024f2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/codeql-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,19 @@ jobs:
- name: Run sarif-to-comment
run: |
npx @security-alert/sarif-to-comment \
OWNER=$(echo "$REPOSITORY" | awk -F[/] '{print $1}')
REPO=$(echo "$REPOSITORY" | awk -F[/] '{print $2}')
npx @security-alert/sarif-to-comment \
--commentUrl "$URL" \
--sarifContentOwner "$OWNER" \
--sarifContentRepo "$REPOSITORY" \
--sarifContentBranch "$BRANCH" \
"$File"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: "codeql_troubleshoot_container"
OWNER: "Perdiga"
URL: "https://github.com/Perdiga/codeql_troubleshoot_container/pull/1"
BRANCH: "main"
REPOSITORY: "${{ github.repository }}"
#OWNER: "Perdiga"
URL: "https://github.com/${{ github.repository }}/pull/${{ github.event.number }}"
BRANCH: ${{ github.head_ref }}
File: "./results.sarif"

0 comments on commit 4b024f2

Please sign in to comment.