mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-16 15:35:52 -04:00
use basename
and dirname
to split owner/repo
Co-authored-by: Seth Flynn <getchoo@tuta.io> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
b42b453f76
commit
e8e81a7627
8
.github/actions/add-labels/action.yml
vendored
8
.github/actions/add-labels/action.yml
vendored
@ -34,8 +34,8 @@ runs:
|
||||
COLORS: ${{ inputs.colors }}
|
||||
DEFAULT_COLOR: ${{ inputs.default-color }}
|
||||
run: |
|
||||
owner=$(echo "$REPOSITORY" | cut -d '/' -f 1)
|
||||
repo=$(echo "$REPOSITORY" | cut -d '/' -f 2)
|
||||
owner="$(dirname "$REPOSITORY")"
|
||||
repo="$(basename "$REPOSITORY")"
|
||||
query=$(
|
||||
jq -nr \
|
||||
--arg labels "$LABELS" \
|
||||
@ -118,8 +118,8 @@ runs:
|
||||
REPOSITORY: ${{ inputs.repository }}
|
||||
ISSUES: ${{ inputs.issues }}
|
||||
run: |
|
||||
owner=$(echo "$REPOSITORY" | cut -d '/' -f 1)
|
||||
repo=$(echo "$REPOSITORY" | cut -d '/' -f 2)
|
||||
owner="$(dirname "$REPOSITORY")"
|
||||
repo="$(basename "$REPOSITORY")"
|
||||
query=$(
|
||||
jq -nr \
|
||||
--arg issues "$ISSUES" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user