Skip to content

Commit 964b79d

Browse files
committed
author fix
1 parent 464b38f commit 964b79d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
uses: ./.github/templates/run-script-and-commit
3535
with:
3636
script_call: |
37+
AUTHOR="${{ github.actor }}"
38+
export AUTHOR
3739
make gen-sbom-and-ssdlc-report RESOURCE=${{ github.event.inputs.resourceName }} VERSION=${{ github.event.inputs.resourceVersionPublishing }}
3840
apix_bot_pat: ${{ secrets.APIX_BOT_PAT }}
3941
remote: https://svc-apix-bot:${{ secrets.APIX_BOT_PAT }}@github.com/${{ github.repository }}

scripts/gen-ssdlc-report.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ ls -l templates || echo "templates directory not found"
2020
echo "Listing cfn-resources directory:"
2121
ls -l cfn-resources || echo "cfn-resources directory not found"
2222

23-
if [ -z "${AUTHOR:-}" ]; then
24-
AUTHOR=$(git config user.name)
25-
fi
2623
echo "AUTHOR: ${AUTHOR}"
2724

2825
if [ "${AUGMENTED_REPORT:-false}" = "true" ]; then

0 commit comments

Comments
 (0)