From 9a5e2a9083efc770669e6cbae4f8a78e15ceb496 Mon Sep 17 00:00:00 2001 From: AlmightyHak Date: Thu, 19 Jun 2025 12:26:35 -0500 Subject: [PATCH] Update .github/workflows/build_push.yml --- .github/workflows/build_push.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index b7687fb7..b3a08fcd 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -31,22 +31,27 @@ jobs: ref: main token: ${{ secrets.BOT_PAT }} + - name: Find lib changes + id: modified-libs + uses: https://github.com/tj-actions/changed-files@90a06d6ba9543371ab4df8eeca0be07ca6054959 #v42 + with: + files: lib/ + files_ignore: lib/**.md + files_separator: " " + safe_output: false + + # This step is going to commit, but this will not trigger another workflow. + - name: Bump extensions that uses a modified lib + if: steps.modified-libs.outputs.any_changed == 'true' + run: | + ./.github/scripts/bump-versions.py ${{ steps.modified-libs.outputs.all_changed_files }} + - name: Get number of modules run: | set -x projects=(src/*/*) echo "NUM_INDIVIDUAL_MODULES=${#projects[@]}" >> "$GITHUB_ENV" - # Temporary pause because of leak of tj-actions/changed-files - # - name: Find lib changes - # id: modified-libs - # uses: tj-actions/changed-files@90a06d6ba9543371ab4df8eeca0be07ca6054959 #v42 - # with: - # files: lib/ - # files_ignore: lib/**.md - # files_separator: " " - # safe_output: false - - name: Import GPG key uses: https://github.com/crazy-max/ghaction-import-gpg@v6 # v6.1.0 with: