mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-25 20:00:40 +00:00
Update workflow
This commit is contained in:
+2
-1
@@ -57,7 +57,8 @@ jobs:
|
|||||||
- name: Parse PR number from merge commit
|
- name: Parse PR number from merge commit
|
||||||
id: pr
|
id: pr
|
||||||
run: |
|
run: |
|
||||||
if [[ "$COMMIT_MSG" =~ #([0-9]+) ]]; then
|
re='#([0-9]+)'
|
||||||
|
if [[ "$COMMIT_MSG" =~ $re ]]; then
|
||||||
echo "number=${BASH_REMATCH[1]}" >> "$GITHUB_OUTPUT"
|
echo "number=${BASH_REMATCH[1]}" >> "$GITHUB_OUTPUT"
|
||||||
else
|
else
|
||||||
echo "number=" >> "$GITHUB_OUTPUT"
|
echo "number=" >> "$GITHUB_OUTPUT"
|
||||||
|
|||||||
Reference in New Issue
Block a user