From ff277f608bdc51f04aa1a95c972254e98accab6a Mon Sep 17 00:00:00 2001 From: Makai Mann Date: Thu, 20 Feb 2025 17:52:37 -0500 Subject: [PATCH] Add a comment/warning to the generated file --- .github/workflows/write-version.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/write-version.yml b/.github/workflows/write-version.yml index 2e7241638..50ca9a717 100644 --- a/.github/workflows/write-version.yml +++ b/.github/workflows/write-version.yml @@ -38,7 +38,8 @@ jobs: - name: Update VERSION file run: | - echo "${{ steps.get_version.outputs.version }}" > VERSION + + echo -e"# This file is auto-generated by a GitHub Action -- do not edit\n${{ steps.get_version.outputs.version }}" > VERSION - name: Commit and push if changed run: |