Fixing update type step.
This commit is contained in:
@@ -18,11 +18,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Detect Renovate update type
|
- name: Detect Renovate update type
|
||||||
id: detect-update
|
id: detect-update
|
||||||
|
env:
|
||||||
|
PR_BODY: ${{ github.event.pull_request.body }}
|
||||||
run: |
|
run: |
|
||||||
body="${{ github.event.pull_request.body }}"
|
echo "PR body: $PR_BODY"
|
||||||
echo "PR body: $body"
|
|
||||||
|
|
||||||
if echo "$body" | grep -qE 'Update\s+(patch|minor|major|digest)'; then
|
if echo "$PR_BODY" | grep -qE 'Update\s+(patch|minor|major|digest)'; then
|
||||||
echo "update=true" >> $GITHUB_OUTPUT
|
echo "update=true" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "update=false" >> $GITHUB_OUTPUT
|
echo "update=false" >> $GITHUB_OUTPUT
|
||||||
|
|||||||
Reference in New Issue
Block a user