Skip to content

Commit

Permalink
Clean up files and remove debugging statements for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed May 28, 2024
1 parent 58bd693 commit dccb80e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions check-requirements-files/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion run-pip-compile/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion update-requirements-files/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dccb80e

Please sign in to comment.