From 61460830fcf65912e235f45dbb07f9992b87001d Mon Sep 17 00:00:00 2001 From: ericLemanissier Date: Tue, 25 Oct 2022 09:42:25 +0200 Subject: [PATCH] (#13740) Revert "actions: upgrade changed-files version" This reverts commit 016bfda6f6f613e5be0806c85e8ef4b01f681df0. --- .github/workflows/linter-conan-v2.yml | 15 ++++++--------- .github/workflows/linter-yaml.yml | 13 +++++-------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/.github/workflows/linter-conan-v2.yml b/.github/workflows/linter-conan-v2.yml index 5373722197..7a00231462 100644 --- a/.github/workflows/linter-conan-v2.yml +++ b/.github/workflows/linter-conan-v2.yml @@ -16,12 +16,11 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 2 - name: Get changed files - uses: tj-actions/changed-files@v32 + uses: tj-actions/changed-files@v20 id: changed_files with: - base_sha: ${{ github.event.pull_request.base.sha }} files: | linter/** - name: Get Conan v1 version @@ -85,12 +84,11 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 2 - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v32 + uses: tj-actions/changed-files@v20 with: - base_sha: ${{ github.event.pull_request.base.sha }} files: | recipes/*/*/conanfile.py - name: Get Conan v1 version @@ -121,12 +119,11 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 2 - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v32 + uses: tj-actions/changed-files@v20 with: - base_sha: ${{ github.event.pull_request.base.sha }} files: | recipes/*/*/test_*/conanfile.py - name: Get Conan v1 version diff --git a/.github/workflows/linter-yaml.yml b/.github/workflows/linter-yaml.yml index 850bd3d240..59e73e83b1 100644 --- a/.github/workflows/linter-yaml.yml +++ b/.github/workflows/linter-yaml.yml @@ -17,13 +17,12 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 2 - name: Get changed files - uses: tj-actions/changed-files@v32 + uses: tj-actions/changed-files@v20 id: changed_files with: - base_sha: ${{ github.event.pull_request.base.sha }} files: | linter/** @@ -52,7 +51,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 2 - uses: actions/setup-python@v4 with: @@ -65,9 +64,8 @@ jobs: - name: Get changed files (config) id: changed_files_config if: always() - uses: tj-actions/changed-files@v32 + uses: tj-actions/changed-files@v20 with: - base_sha: ${{ github.event.pull_request.base.sha }} files: | ${{ env.CONFIG_FILES_PATH }} @@ -82,9 +80,8 @@ jobs: - name: Get changed files (conandata) id: changed_files_conandata if: always() - uses: tj-actions/changed-files@v32 + uses: tj-actions/changed-files@v20 with: - base_sha: ${{ github.event.pull_request.base.sha }} files: | ${{ env.CONANDATA_FILES_PATH }}