ci(package-pr): move into different var
This commit is contained in:
parent
88faac0335
commit
792c7c69eb
|
@ -32,7 +32,8 @@ jobs:
|
|||
id: 'get-packages'
|
||||
shell: bash
|
||||
run: |
|
||||
PACKAGES=$(echo '${{ steps.get-pr-commits.outputs.commits }}' | jq .[].commit.message -r | grep -oP '^pkg\(\K[^:\h\n]+(?=\))'' | sort -u | sed 's/^/* /')
|
||||
COMMITS='${{ steps.get-pr-commits.outputs.commits }}'
|
||||
PACKAGES=$(echo $COMMITS | jq .[].commit.message -r | grep -oP '^pkg\(\K[^:\h\n]+(?=\))'' | sort -u | sed 's/^/* /')
|
||||
PACKAGES=${PACKAGES//$'%'/'%25'}
|
||||
PACKAGES=${PACKAGES//$'\n'/'%0A'}
|
||||
PACKAGES=${PACKAGES//$'\r'/'%0D'}
|
||||
|
|
Loading…
Reference in New Issue