fix: strip leading slash from forgejo.repository in aikido full scan
This commit is contained in:
parent
9f70cd804d
commit
e6012e11c0
1 changed files with 8 additions and 1 deletions
|
|
@ -12,8 +12,15 @@ inputs:
|
|||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Normalize repository name
|
||||
id: repo
|
||||
shell: bash
|
||||
run: |
|
||||
repo="${{ forgejo.repository }}"
|
||||
echo "name=${repo#/}" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: https://schmalz-git.git.onstackit.cloud/schmalz/shared-actions/internal-aikido-full-scan@internal-aikido-full-scan-v1
|
||||
with:
|
||||
apikey: ${{ inputs.apikey }}
|
||||
repository-name: ${{ forgejo.repository }}
|
||||
repository-name: ${{ steps.repo.outputs.name }}
|
||||
branch-name: ${{ forgejo.ref_name }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue