mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-10 21:54:57 +00:00
Update workflow
This commit is contained in:
3
.github/workflows/update-script-timestamp-on-sh-change.yml
generated
vendored
3
.github/workflows/update-script-timestamp-on-sh-change.yml
generated
vendored
@@ -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