Skip to content

Commit

Permalink
move PR env vars into SH action
Browse files Browse the repository at this point in the history
  • Loading branch information
azconger committed May 9, 2024
1 parent 254f663 commit c5ee607
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/hawkscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ jobs:
build-and-test:
name: Build and Scan
runs-on: ubuntu-latest
env:
COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
BRANCH_NAME: ${{ github.head_ref }}
# env:

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -32,6 +31,8 @@ jobs:
- name: Run HawkScan
env:
HAWK_ENV: GitHub Actions
COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
BRANCH_NAME: ${{ github.head_ref }}
continue-on-error: true
uses: stackhawk/hawkscan-action@v2
with:
Expand Down

0 comments on commit c5ee607

Please sign in to comment.