From 26c8b9feba8f753290f9373ffea57d5fd69ce830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Tue, 9 Dec 2025 15:34:03 +0100 Subject: [PATCH] ci: fix check-changes diff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Niccolò Fei --- .github/workflows/update_os_libraries.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/update_os_libraries.yml b/.github/workflows/update_os_libraries.yml index d138661..1c51fca 100644 --- a/.github/workflows/update_os_libraries.yml +++ b/.github/workflows/update_os_libraries.yml @@ -76,20 +76,9 @@ jobs: git status git diff - - name: Check for changes - id: check-changes - run: | - if git diff --quiet; then - echo "No changes detected for ${{ matrix.extension }}" - echo "changed=false" >> $GITHUB_OUTPUT - else - echo "Changes detected for ${{ matrix.extension }}" - echo "changed=true" >> $GITHUB_OUTPUT - fi - - name: Create a PR if versions have been updated on main uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8 - if: github.ref == 'refs/heads/main' && steps.check-changes.outputs.changed == 'true' + if: github.ref == 'refs/heads/main' with: token: ${{ secrets.REPO_GHA_PAT }} title: "chore: update ${{ matrix.extension }} OS libraries" @@ -97,6 +86,6 @@ jobs: branch: "${{ matrix.extension }}-os-libraries" author: "extension-os-libs-updater " add-paths: | - ${{ matrix.extension }}/** + ${{ matrix.extension }}/system-libs/** commit-message: "chore: update ${{ matrix.extension }} OS libraries" signoff: true