diff --git a/.github/workflows/pre-commit-2.yml b/.github/workflows/pre-commit-2.yml index 5b1d665..7dd9526 100644 --- a/.github/workflows/pre-commit-2.yml +++ b/.github/workflows/pre-commit-2.yml @@ -2,10 +2,10 @@ name: pre-commit on: pull_request: - branches: [main] + branches: [master] types: [opened, synchronize, closed] push: - branches: [main] + branches: [master] jobs: pre-commit: @@ -30,18 +30,18 @@ jobs: - name: Show File Changes run: | - echo 'files.json' + echo -e 'files.json' cat $HOME/files.json - echo 'files_modified.json' + echo -e '\nfiles_modified.json\n' cat $HOME/files_modified.json - echo 'files_added.json' + echo -e '\nfiles_added.json' cat $HOME/files_added.json echo 'files_removed.json' cat $HOME/files_removed.json - echo '${{ steps.file_changes.outputs.files}}' - echo '${{ steps.file_changes.outputs.files_modified}}' - echo '${{ steps.file_changes.outputs.files_added}}' - echo '${{ steps.file_changes.outputs.files_removed}}' + echo '${{ steps.file_changes.outputs.files }}' + echo '${{ steps.file_changes.outputs.files_modified }}' + echo '${{ steps.file_changes.outputs.files_added }}' + echo '${{ steps.file_changes.outputs.files_removed }}' # https://github.com/marketplace/actions/pre-commit # https://github.com/cloudposse/github-action-pre-commit diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 7f8ba5b..9552d48 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -2,10 +2,10 @@ name: pre-commit on: pull_request: - branches: [main] + branches: [master] types: [opened, synchronize, closed] push: - branches: [main] + branches: [master] jobs: pre-commit: