From 4ff28576f427a4ceddebf4c9ba6398a5e5029b01 Mon Sep 17 00:00:00 2001 From: David Perl Date: Tue, 19 May 2026 15:34:18 +0200 Subject: [PATCH] test... --- .gitea/workflows/create_update_pr.yml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.gitea/workflows/create_update_pr.yml b/.gitea/workflows/create_update_pr.yml index 4373205..a52e7fe 100644 --- a/.gitea/workflows/create_update_pr.yml +++ b/.gitea/workflows/create_update_pr.yml @@ -34,29 +34,4 @@ jobs: echo "switching to branch $branch" git checkout -b $branch - echo "Running copier update..." - output="$(copier update --trust --defaults --conflict inline 2>&1)" - echo "$output" - msg="$(printf '%s\n' "$output" | head -n 1)" - - if ! grep -q "make_commit: true" .copier-answers.yml ; then - echo "Autocommit not made, committing..." - git add -A - git commit -a -m "$msg" - fi - - if diff-index --quiet HEAD ; then - echo "No changes detected" - exit 0 - fi - - git push -u origin $branch - curl -X POST "https://gitea.psi.ch/api/v1/repos/${{ gitea.repository }}/pulls" \ - -H "Authorization: token ${{ secrets.CI_REPO_WRITE }}" \ - -H "Content-Type: application/json" \ - -d "{ - \"title\": \"Template: $(echo $msg)\", - \"body\": \"This PR was created by Gitea Actions\", - \"head\": \"$(echo $branch)\", - \"base\": \"main\" - }" + copier update --trust --defaults --conflict inline