From 00adea0272ee92d775867e284f7548efbea7e08a Mon Sep 17 00:00:00 2001 From: Sagar Khalasi Date: Tue, 26 Nov 2024 16:52:14 +0530 Subject: [PATCH] fix: Bypassing the server file check (#37718) ## Description > [!TIP] > _Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team)._ > > _Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR._ Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="" ### :mag: Cypress test results > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No --- .github/workflows/server-build.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/server-build.yml b/.github/workflows/server-build.yml index fcbb47722a..b3d705c43a 100644 --- a/.github/workflows/server-build.yml +++ b/.github/workflows/server-build.yml @@ -100,12 +100,16 @@ jobs: - name: Print the Github event run: echo ${{ github.event_name }} - - name: Get changed files in the server folder + # - name: Get changed files in the server folder + # id: changed-files-specific + # uses: tj-actions/changed-files@v44 + # with: + # files: "app/server/**" + # write_output_files: true + + - name: Updating the server changed file variable id: changed-files-specific - uses: tj-actions/changed-files@v44 - with: - files: "app/server/**" - write_output_files: true + run: echo "any_changed=true" >> "$GITHUB_OUTPUT" - name: Run step if any file(s) in the server folder change if: steps.changed-files-specific.outputs.any_changed == 'true'