[llvm] [Github] Remove redundant 'START_REV', 'END_REV' env variables (NFC) (PR #154218)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 15:54:53 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Baranov Victor (vbvictor)

<details>
<summary>Changes</summary>

After https://github.com/llvm/llvm-project/pull/133023, `START_REV` and `END_REV` env variables became redundant.

---
Full diff: https://github.com/llvm/llvm-project/pull/154218.diff


1 Files Affected:

- (modified) .github/workflows/pr-code-format.yml (-2) 


``````````diff
diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml
index dc55b7e47e111..5540555ae05ed 100644
--- a/.github/workflows/pr-code-format.yml
+++ b/.github/workflows/pr-code-format.yml
@@ -70,8 +70,6 @@ jobs:
       - name: Run code formatter
         env:
           GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
-          START_REV: ${{ github.event.pull_request.base.sha }}
-          END_REV: ${{ github.event.pull_request.head.sha }}
           CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
         # Create an empty comments file so the pr-write job doesn't fail.
         run: |

``````````

</details>


https://github.com/llvm/llvm-project/pull/154218


More information about the llvm-commits mailing list