From 5ea60410aa8bc80c495838e7e0edbd5dc1a1936f Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Thu, 15 May 2025 10:27:12 +0200 Subject: [PATCH] Changes to workflow --- .github/workflows/delete_new_script.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/delete_new_script.yaml b/.github/workflows/delete_new_script.yaml index 32b0945..2ec2d91 100644 --- a/.github/workflows/delete_new_script.yaml +++ b/.github/workflows/delete_new_script.yaml @@ -72,7 +72,7 @@ jobs: exit 0 fi git commit -m "Deleted files for issue: ${{ github.event.issue.title }}" - git push origin $branch + git push origin $branch --force gh pr create --title "Delete Files for ${{ github.event.issue.title }} after Merge to Main" --body "Delete files after merge in main repo." --base main --head $branch pr_number=$(gh pr list | grep -m 1 $branch | awk '{print $1}')