diff --git a/check-requirements-files/action.yml b/check-requirements-files/action.yml index 65987ca..7d86fb7 100644 --- a/check-requirements-files/action.yml +++ b/check-requirements-files/action.yml @@ -31,11 +31,6 @@ runs: if [[ ! -d .github/.action_repo ]]; then ln -fs ${{ env.action_path }}/.. .github/.action_repo; fi shell: bash - - name: List symlink contents - run: | - tree .github/.action_repo - shell: bash - - name: Run pip-compile id: run-pip-compile uses: ./.github/.action_repo/run-pip-compile @@ -44,12 +39,6 @@ runs: pip-tools-version: ${{ inputs.pip-tools-version }} pip-compile-args: ${{ inputs.pip_compile_args }} - - name: "debugging" - run: | - echo "CHANGES_DETECTED: ${{ steps.run-pip-compile.outputs.CHANGES_DETECTED }}" - echo "OUTPUT_FILES: ${{ steps.run-pip-compile.outputs.OUTPUT_FILES }}" - shell: bash - - name: "Fail if there are changes to requirements files" if: steps.run-pip-compile.outputs.CHANGES_DETECTED == '1' run: | diff --git a/run-pip-compile/action.yml b/run-pip-compile/action.yml index 38c6ac9..15ea1d4 100644 --- a/run-pip-compile/action.yml +++ b/run-pip-compile/action.yml @@ -71,7 +71,7 @@ runs: env: INPUT_REQUIREMENTS_FILES: ${{ inputs.requirements_files }} - - name: Set output + - name: Detect if any changes were made to requirements files id: detect-changes run: | function check() { diff --git a/update-requirements-files/action.yml b/update-requirements-files/action.yml index b428465..e7b7518 100644 --- a/update-requirements-files/action.yml +++ b/update-requirements-files/action.yml @@ -84,7 +84,7 @@ runs: branch: pip-tools/update-requirements-files/${{ inputs.pr-branch-suffix }} add-paths: ${{ steps.prep-output-files.outputs.OUTPUT_FILES_PR }} - - name: "Fail if there are changes to requirements files" + - name: Fail if there are changes to requirements files if: steps.run-pip-compile.outputs.CHANGES_DETECTED == '1' run: | echo "Changes to requirements files detected"