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