diff --git a/.github/workflows/bb-masking-1.yml b/.github/workflows/bb-masking-1.yml index fa731dc..8776030 100644 --- a/.github/workflows/bb-masking-1.yml +++ b/.github/workflows/bb-masking-1.yml @@ -33,11 +33,18 @@ jobs: files: | masking/databases/**/**/column-masking.json masking/projects/**/masking-exception.json + since_last_remote_commit: true + fetch_depth: 0 + include_all_old_new_renamed_files: true - name: Debug changed files in detail run: | echo "All changed files:" echo "${{ steps.changed-files.outputs.all_changed_files }}" + echo "Added files:" + echo "${{ steps.changed-files.outputs.added_files }}" + echo "Modified files:" + echo "${{ steps.changed-files.outputs.modified_files }}" echo "Contains column-masking.json: ${{ contains(steps.changed-files.outputs.all_changed_files, 'column-masking.json') }}" echo "Contains masking-exception.json: ${{ contains(steps.changed-files.outputs.all_changed_files, 'masking-exception.json') }}" echo "Raw output:" diff --git a/.github/workflows/bb-masking-2.yml b/.github/workflows/bb-masking-2.yml index 300c7fe..f2c106e 100644 --- a/.github/workflows/bb-masking-2.yml +++ b/.github/workflows/bb-masking-2.yml @@ -33,6 +33,16 @@ jobs: files: | masking/masking-algorithm.json masking/semantic-type.json + since_last_remote_commit: true + fetch_depth: 0 + include_all_old_new_renamed_files: true + + - name: Debug changed files + run: | + echo "All changed and added files:" + echo "Modified files: ${{ steps.changed-files.outputs.modified_files }}" + echo "Added files: ${{ steps.changed-files.outputs.added_files }}" + echo "All changes: ${{ steps.changed-files.outputs.all_changed_files }}" - name: Debug changed files in detail run: |