fix: fix update template workflow
All checks were successful
CI for bec_testing_plugin / test (push) Successful in 28s

This commit is contained in:
2026-02-24 14:28:15 +01:00
parent 61756e83ed
commit 46bd9f0de6

View File

@@ -8,6 +8,9 @@ permissions:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Setup Python
@@ -24,9 +27,10 @@ jobs:
- name: Perform update
run: |
set -x
branch="chore/update-template-$(python -m uuid)"
git checkout -b $branch
msg = $(copier update --trust --defaults --conflict inline 2>&1 | sed -n 1p)
msg="$(copier update --trust --defaults --conflict inline 2>&1 | sed -n 1p)"
git add -A
git diff-index --quiet HEAD || git commit -a -m $msg
git push -u origin $branch