From 746572233001a936c8a5348a2554a262d5299c6f Mon Sep 17 00:00:00 2001 From: Quang Truong Date: Wed, 29 Apr 2026 15:31:53 +0200 Subject: [PATCH] Automatisch Create Update-Table-Reference --- .github/workflows/update-table-reference.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/update-table-reference.yml b/.github/workflows/update-table-reference.yml index e2bf8a38f2..2f8c632773 100644 --- a/.github/workflows/update-table-reference.yml +++ b/.github/workflows/update-table-reference.yml @@ -65,6 +65,7 @@ jobs: - name: Push shell: bash + if: ${{ env.TARGET_BRANCH != 'main' }} working-directory: ${{ env.REPO_LOCAL_PATH }} run: | git config user.name 'eclipse-set-bot' @@ -75,3 +76,19 @@ jobs: git status git push -f git status + + - name: Create PR + if: ${{ env.TARGET_BRANCH == 'main' }} + working-directory: ${{ env.REPO_LOCAL_PATH }} + run: | + git config user.name 'eclipse-set-bot' + git config user.email 'set-bot@eclipse.org' + git checkout -b update-table-reference + git status + git add -A + git commit --allow-empty -m "Update table reference" + git status + git push --delete origin update-table-reference + git push --set-upstream origin update-table-reference + git status + gh pr create --base main --title "Update table reference"