From 72bc2be5aa79d1b938a638738f8c87bc6c4bb2c1 Mon Sep 17 00:00:00 2001 From: hezijie Date: Sat, 14 Sep 2024 14:18:31 +0800 Subject: [PATCH] bump changed-files action version --- .github/workflows/e2e.yaml | 7 ++++--- .github/workflows/pr-check.yaml | 7 ++++--- quickstart/101-aci-linuxcontainer-public-ip/main.tf | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index af1c060d7..f2e113b89 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -32,11 +32,12 @@ jobs: - name: Get changed files if: github.event.pull_request.head.repo.fork == false id: changed-files - uses: tj-actions/changed-files@v34 + uses: tj-actions/changed-files@v45 with: - dir_names: "true" + dir_names: true separator: "," - files: "quickstart/*" + dir_names_include_files: "quickstart/*" + files: "quickstart/**" files_ignore: "**/TestRecord.md" dir_names_max_depth: 2 - name: test pr diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index 6e041305e..fb4a746d7 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -15,11 +15,12 @@ jobs: uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0 - name: Get changed files id: changed-files - uses: tj-actions/changed-files@716b1e13042866565e00e85fd4ec490e186c4a2f #v41.0.1 + uses: tj-actions/changed-files@v45 with: - dir_names: "true" + dir_names: true separator: "," - files: "quickstart/*" + dir_names_include_files: "quickstart/*" + files: "quickstart/**" dir_names_max_depth: 2 - name: pr-check run: | diff --git a/quickstart/101-aci-linuxcontainer-public-ip/main.tf b/quickstart/101-aci-linuxcontainer-public-ip/main.tf index 0bfb3efdb..3143531ac 100644 --- a/quickstart/101-aci-linuxcontainer-public-ip/main.tf +++ b/quickstart/101-aci-linuxcontainer-public-ip/main.tf @@ -2,6 +2,7 @@ resource "random_pet" "rg_name" { prefix = var.resource_group_name_prefix } + resource "azurerm_resource_group" "rg" { name = random_pet.rg_name.id location = var.resource_group_location