Skip to content

Commit

Permalink
fix(action-precommit): BOM compliance git auth
Browse files Browse the repository at this point in the history
  • Loading branch information
JoffreyPlouvier committed Oct 30, 2023
1 parent ef844bb commit 102b7c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion actions/precommit/bom-compliance/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: "Check BOM compliance in given environment"

inputs:
gh_token:
description: "Github token with private repo access"
description: "Github token with private repo access - both pr-commit and bom repos"
required: true
target_env:
description: Target env name (dev, pp, prd...)
Expand Down Expand Up @@ -32,6 +32,11 @@ inputs:
runs:
using: "composite"
steps:
- name: git-global-auth
uses: "meero-com/github-actions-shared-workflows/actions/git/git-auth-global@main"
with:
github-token: ${{ inputs.gh_token }}

- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 102b7c5

Please sign in to comment.