Skip to content

Commit 5b8444f

Browse files
committed
Add Badge Updater For Private
Signed-off-by: Stephen Williams <stephenw@mindpointgroup.com>
1 parent b7ca836 commit 5b8444f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/export-badges-private.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
env:
2626
GH_TOKEN: ${{ secrets.BADGE_PUSH_TOKEN }}
2727
run: |
28-
OUT_DIR=output/badges/${{ inputs.repo_name }}
28+
repo_short=$(basename "${{ inputs.repo_name }}")
29+
OUT_DIR=output/badges/$repo_short
2930
3031
# Release branch badge
3132
default_branch=$(gh repo view "${{ inputs.repo_name }}" --json defaultBranchRef --jq '.defaultBranchRef.name')

0 commit comments

Comments
 (0)