Skip to content

Commit bdf6971

Browse files
committed
Update fpm-version-update.yml
1 parent 1ac83c7 commit bdf6971

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/fpm-version-update.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ jobs:
5252
echo "SHA256=${SHA256}" >> "$GITHUB_ENV"
5353
echo "New SHA256: ${SHA256}"
5454
55+
- name: Create branch for update
56+
if: env.UPDATE_NEEDED == 'true'
57+
run: |
58+
BRANCH_NAME="auto-update-fpm-${{ env.LATEST_VERSION }}-$(date +%s)" # Add timestamp to branch name for uniqueness
59+
echo "BRANCH_NAME=${BRANCH_NAME}" >> "$GITHUB_ENV"
60+
5561
- name: Update formula
5662
if: env.UPDATE_NEEDED == 'true'
5763
run: |

0 commit comments

Comments
 (0)