Skip to content

Commit

Permalink
chore: add github token
Browse files Browse the repository at this point in the history
  • Loading branch information
yacosta738 committed Mar 6, 2024
1 parent 2dd10ff commit 9064c35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/analysis/security/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ inputs:
nvd_api_key:
description: 'NVD API Key'
required: false
token:
description: 'GITHUB_TOKEN with permissions to push to the container registry'
default: ${{ github.token }}

runs:
using: composite
Expand Down Expand Up @@ -44,3 +47,4 @@ runs:
with:
sarif_file: build/reports/detekt/detekt.sarif
checkout_path: ${{ github.workspace }}
token: ${{ inputs.github_token }}
1 change: 1 addition & 0 deletions .github/workflows/deploy-main-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
uses: ./.github/actions/analysis/security
with:
nvd_api_key: ${{ secrets.NVD_API_KEY }}
token: ${{ env.CI_GITHUB_TOKEN }}

functional:
name: Functional Acceptance Tests 🎯
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dev-commit-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
uses: ./.github/actions/analysis/security
with:
nvd_api_key: ${{ secrets.NVD_API_KEY }}
token: ${{ env.CI_GITHUB_TOKEN }}

package:
name: Package and Publish 📦
Expand Down

0 comments on commit 9064c35

Please sign in to comment.