From ed3c12bc50ac2eb080cd2af482b9e38f74263a36 Mon Sep 17 00:00:00 2001 From: timo <1398557+timo-a@users.noreply.github.com> Date: Thu, 4 Apr 2024 02:11:21 +0200 Subject: [PATCH] feat(workflow): skip the patch --- .github/workflows/combined-pr.yml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/combined-pr.yml b/.github/workflows/combined-pr.yml index 4592f10f76..2226960b62 100644 --- a/.github/workflows/combined-pr.yml +++ b/.github/workflows/combined-pr.yml @@ -50,17 +50,6 @@ jobs: - name: Apply OpenRewrite recipes run: mvn --activate-profiles openrewrite org.openrewrite.maven:rewrite-maven-plugin:run - # Capture the diff - - name: Create patch - run: | - git diff | tee git-diff.patch - - # Download the patch - - name: Apply patch - run: | - git apply git-diff.patch --allow-empty - rm git-diff.patch - # Download the PR number - uses: actions/download-artifact@v4 with: @@ -82,20 +71,8 @@ jobs: reviewdog_flags: tee # now let's try the same thing with google code suggester - # Download the patch - - uses: actions/download-artifact@v4 - with: - name: patch - github-token: ${{ secrets.GITHUB_TOKEN }} - run-id: ${{ github.event.workflow_run.id }} - - name: Apply patch - run: | - git apply git-diff_combined.patch --allow-empty - rm git-diff_combined.patch - - uses: googleapis/code-suggester@v4 with: command: review pull_number: ${{ env.PR_NUMBER }} - git_dir: '.' - + git_dir: '.' \ No newline at end of file