From 44076678a1e30bae7fa1504aca32feb28cdac220 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Tue, 23 Nov 2021 17:01:56 -0600 Subject: [PATCH 01/26] check template --- .github/workflows/checkTemplate.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/checkTemplate.yml diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml new file mode 100644 index 0000000000..72b8538a55 --- /dev/null +++ b/.github/workflows/checkTemplate.yml @@ -0,0 +1,18 @@ +name: Check Template Format + +on: + workflow_dispatch: + push: + paths: + - '.github/workflows/checkTemplate.yml' + - '047-Dapr/**' + +jobs: + checklinks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Template Format Check + uses: jordanbean-msft/github-action-wth-template-check@v0.0.1 + with: + inputPath: $GITHUB_WORKSPACE/047-Dapr \ No newline at end of file From e9a3058a99b4ce556ff57196862fb65ac01878d4 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Tue, 23 Nov 2021 17:12:36 -0600 Subject: [PATCH 02/26] path --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 72b8538a55..7c5f0d728c 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -15,4 +15,4 @@ jobs: - name: Template Format Check uses: jordanbean-msft/github-action-wth-template-check@v0.0.1 with: - inputPath: $GITHUB_WORKSPACE/047-Dapr \ No newline at end of file + inputPath: ${{ env.GITHUB_WORKSPACE }}/047-Dapr \ No newline at end of file From 7364e7f8fe72333ac3c70c58e63ee11651c5fd12 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Tue, 23 Nov 2021 17:15:27 -0600 Subject: [PATCH 03/26] path --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 7c5f0d728c..1a5d01ec47 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -15,4 +15,4 @@ jobs: - name: Template Format Check uses: jordanbean-msft/github-action-wth-template-check@v0.0.1 with: - inputPath: ${{ env.GITHUB_WORKSPACE }}/047-Dapr \ No newline at end of file + inputPath: ${{ github.workspace }}/047-Dapr \ No newline at end of file From 0afa641d1f8f3de76ba45e63792a670e5b7adb99 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 08:32:35 -0600 Subject: [PATCH 04/26] tree --- .github/workflows/checkTemplate.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 1a5d01ec47..23986dbe82 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -12,6 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Print Directory Structure + run: | + ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check uses: jordanbean-msft/github-action-wth-template-check@v0.0.1 with: From 1b8750c8e5e947fa7a35efba4c0d8ff51635f6b9 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 08:38:13 -0600 Subject: [PATCH 05/26] empty file --- 047-Dapr/Coach/Solutions/README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 047-Dapr/Coach/Solutions/README.md diff --git a/047-Dapr/Coach/Solutions/README.md b/047-Dapr/Coach/Solutions/README.md new file mode 100644 index 0000000000..e69de29bb2 From d6247aa7937c9072f321b3a9fe9584299cccabe1 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 13:54:05 -0600 Subject: [PATCH 06/26] template version --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 23986dbe82..68c384fda9 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -16,6 +16,6 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.0.1 + uses: jordanbean-msft/github-action-wth-template-check@v0.0.2 with: inputPath: ${{ github.workspace }}/047-Dapr \ No newline at end of file From e6906a0f91d07bc66626f29686f63146e6feb7ed Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 14:47:47 -0600 Subject: [PATCH 07/26] version --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 68c384fda9..ec18007452 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -16,6 +16,6 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.0.2 + uses: jordanbean-msft/github-action-wth-template-check@v0.0.3 with: inputPath: ${{ github.workspace }}/047-Dapr \ No newline at end of file From 459c4fd350b058c07aa43eda52d2db6dd1812156 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 14:54:48 -0600 Subject: [PATCH 08/26] version --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index ec18007452..a40f62a740 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -16,6 +16,6 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.0.3 + uses: jordanbean-msft/github-action-wth-template-check@v0.1.0 with: inputPath: ${{ github.workspace }}/047-Dapr \ No newline at end of file From 9e064cab4a88cc823412b9f2793a2cef0751b91c Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 16:11:03 -0600 Subject: [PATCH 09/26] added matrix --- .github/workflows/checkTemplate.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index a40f62a740..b6ae592c98 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -8,8 +8,25 @@ on: - '047-Dapr/**' jobs: + generateInputPaths: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Print output + run: | + ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0)))' + - name: Generate matrix with all modules of WhatTheHack repository. + id: set-matrix + run: | + echo "::set-output name=matrix::$(ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0)))'" + outputs: + matrix: ${{ steps.set-matrix.outputs.matrix }} checklinks: + needs: generateInputPaths runs-on: ubuntu-latest + strategy: + matrix: + inputPath: ${{ fromJson(needs.generateInputPaths.outputs.matrix) }} steps: - uses: actions/checkout@v2 - name: Print Directory Structure @@ -18,4 +35,4 @@ jobs: - name: Template Format Check uses: jordanbean-msft/github-action-wth-template-check@v0.1.0 with: - inputPath: ${{ github.workspace }}/047-Dapr \ No newline at end of file + inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} \ No newline at end of file From d26279daa032d392ba7b803b2a00238d068dbf64 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 16:14:12 -0600 Subject: [PATCH 10/26] added matrix --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index b6ae592c98..4e787f49d5 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - name: Print output run: | - ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0)))' + ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0))' - name: Generate matrix with all modules of WhatTheHack repository. id: set-matrix run: | From 3bb8ade2a682d312da8da4309b6c31eb9594c7db Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 16:16:57 -0600 Subject: [PATCH 11/26] added matrix --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 4e787f49d5..2572d4c92f 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -18,7 +18,7 @@ jobs: - name: Generate matrix with all modules of WhatTheHack repository. id: set-matrix run: | - echo "::set-output name=matrix::$(ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0)))'" + echo "::set-output name=matrix::$(ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0))')" outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} checklinks: From 18aaaf4c8ee99db8f8de8dfae0580fa085d78b49 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 16:32:58 -0600 Subject: [PATCH 12/26] fail --- .github/workflows/checkTemplate.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 2572d4c92f..e1cef3fdf2 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -12,19 +12,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Print output - run: | - ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0))' - - name: Generate matrix with all modules of WhatTheHack repository. + - name: Generate matrix with all modules of WhatTheHack repository id: set-matrix run: | echo "::set-output name=matrix::$(ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0))')" outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} + cache: ${{ steps.set-cache.outputs.cache-hit }} checklinks: needs: generateInputPaths runs-on: ubuntu-latest strategy: + fail-fast: false matrix: inputPath: ${{ fromJson(needs.generateInputPaths.outputs.matrix) }} steps: From 5c8a0d7ba7fe80f4ee8df8fdb2f49c2894e87e19 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 24 Nov 2021 16:55:56 -0600 Subject: [PATCH 13/26] 2 --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index e1cef3fdf2..9e52c2d490 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -32,6 +32,6 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.1.0 + uses: jordanbean-msft/github-action-wth-template-check@v0.2.0 with: inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} \ No newline at end of file From 60f4ed89dbdcf523398275f53d023e4713154dab Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 8 Dec 2021 15:51:52 -0600 Subject: [PATCH 14/26] dapr --- .github/workflows/checkTemplate.yml | 38 ++++++++++++++++------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 9e52c2d490..8b3d780840 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -7,25 +7,28 @@ on: - '.github/workflows/checkTemplate.yml' - '047-Dapr/**' +# jobs: +# generateInputPaths: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# - name: Generate matrix with all modules of WhatTheHack repository +# id: set-matrix +# run: | +# echo "::set-output name=matrix::$(ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0))')" +# outputs: +# matrix: ${{ steps.set-matrix.outputs.matrix }} +# cache: ${{ steps.set-cache.outputs.cache-hit }} +# checklinks: +# needs: generateInputPaths +# runs-on: ubuntu-latest +# strategy: +# fail-fast: false +# matrix: +# inputPath: ${{ fromJson(needs.generateInputPaths.outputs.matrix) }} jobs: - generateInputPaths: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Generate matrix with all modules of WhatTheHack repository - id: set-matrix - run: | - echo "::set-output name=matrix::$(ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0))')" - outputs: - matrix: ${{ steps.set-matrix.outputs.matrix }} - cache: ${{ steps.set-cache.outputs.cache-hit }} checklinks: - needs: generateInputPaths runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - inputPath: ${{ fromJson(needs.generateInputPaths.outputs.matrix) }} steps: - uses: actions/checkout@v2 - name: Print Directory Structure @@ -34,4 +37,5 @@ jobs: - name: Template Format Check uses: jordanbean-msft/github-action-wth-template-check@v0.2.0 with: - inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} \ No newline at end of file + #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} + inputPath: ${{ github.workspace }}/047-Dapr \ No newline at end of file From 115b3a4655f3fd8efbcf3280cdbcffbecd992ded Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 8 Dec 2021 16:49:34 -0600 Subject: [PATCH 15/26] 2.2 --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 8b3d780840..0628887723 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -35,7 +35,7 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.2.0 + uses: jordanbean-msft/github-action-wth-template-check@v0.2.2 with: #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} inputPath: ${{ github.workspace }}/047-Dapr \ No newline at end of file From e26abfdb3c9a50442f067ad2168c88e1e998f911 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 8 Dec 2021 16:52:45 -0600 Subject: [PATCH 16/26] true --- .github/workflows/checkTemplate.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 0628887723..ed217620aa 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -38,4 +38,5 @@ jobs: uses: jordanbean-msft/github-action-wth-template-check@v0.2.2 with: #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} - inputPath: ${{ github.workspace }}/047-Dapr \ No newline at end of file + path: ${{ github.workspace }} + shouldScanSubdirectories: true \ No newline at end of file From a20ccf2a77daea44e199b723129371cf322a16fd Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 8 Dec 2021 17:04:12 -0600 Subject: [PATCH 17/26] space --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index ed217620aa..791cd40292 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -38,5 +38,5 @@ jobs: uses: jordanbean-msft/github-action-wth-template-check@v0.2.2 with: #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} - path: ${{ github.workspace }} + path: ${{ github.workspace }} shouldScanSubdirectories: true \ No newline at end of file From 401087dc5ab1ada3578b3127e1de72a53aab68d4 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 8 Dec 2021 17:08:53 -0600 Subject: [PATCH 18/26] 2.3 --- .github/workflows/checkTemplate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 791cd40292..c4f9310e2c 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -35,8 +35,8 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.2.2 + uses: jordanbean-msft/github-action-wth-template-check@v0.2.3 with: #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} - path: ${{ github.workspace }} + path: ${{ github.workspace }} shouldScanSubdirectories: true \ No newline at end of file From e545f72abbd71d28a0f68b4a1286f8d673e0cada Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Thu, 9 Dec 2021 08:47:13 -0600 Subject: [PATCH 19/26] 2.4 --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index c4f9310e2c..d64f430dc0 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -35,7 +35,7 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.2.3 + uses: jordanbean-msft/github-action-wth-template-check@v0.2.4 with: #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} path: ${{ github.workspace }} From 7999ab662deeb090a2abbfd92f996dc9e84b8d29 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Thu, 9 Dec 2021 08:51:27 -0600 Subject: [PATCH 20/26] exclude --- .github/workflows/.excludePathsToNotFailOnConfigFile.txt | 2 ++ .github/workflows/checkTemplate.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/.excludePathsToNotFailOnConfigFile.txt diff --git a/.github/workflows/.excludePathsToNotFailOnConfigFile.txt b/.github/workflows/.excludePathsToNotFailOnConfigFile.txt new file mode 100644 index 0000000000..f5a4bc4953 --- /dev/null +++ b/.github/workflows/.excludePathsToNotFailOnConfigFile.txt @@ -0,0 +1,2 @@ +038-MDWCovid19 +044-DevOpswithGithubActions \ No newline at end of file diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index d64f430dc0..8403641d16 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -39,4 +39,5 @@ jobs: with: #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} path: ${{ github.workspace }} - shouldScanSubdirectories: true \ No newline at end of file + shouldScanSubdirectories: true + pathToExcludePathsToNotFailOnConfigFile: .github/workflows/.excludePathsToNotFailOnConfigFile.txt \ No newline at end of file From fbde14b133a0e9c2eca7b3f68cc844ccc36da91b Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Thu, 9 Dec 2021 08:54:44 -0600 Subject: [PATCH 21/26] path --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 8403641d16..d2f34b8957 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -40,4 +40,4 @@ jobs: #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} path: ${{ github.workspace }} shouldScanSubdirectories: true - pathToExcludePathsToNotFailOnConfigFile: .github/workflows/.excludePathsToNotFailOnConfigFile.txt \ No newline at end of file + pathToExcludePathsToNotFailOnConfigFile: ${{ github.workspace }}/.github/workflows/.excludePathsToNotFailOnConfigFile.txt \ No newline at end of file From e153619bffb2c64c9dfc6b8f5768f84e18be7cf8 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Thu, 9 Dec 2021 09:29:47 -0600 Subject: [PATCH 22/26] 2.5 --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index d2f34b8957..f66531de4f 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -35,7 +35,7 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.2.4 + uses: jordanbean-msft/github-action-wth-template-check@v0.2.5 with: #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} path: ${{ github.workspace }} From 8a9a0b2087adfb8eb6cbf51a9a2a6de555cd82e1 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Thu, 9 Dec 2021 09:53:10 -0600 Subject: [PATCH 23/26] 3.0 --- .github/workflows/checkTemplate.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index f66531de4f..560b1f887f 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -35,9 +35,8 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.2.5 + uses: jordanbean-msft/github-action-wth-template-check@v0.3.0 with: - #inputPath: ${{ github.workspace }}/${{ matrix.inputPath }} path: ${{ github.workspace }} shouldScanSubdirectories: true pathToExcludePathsToNotFailOnConfigFile: ${{ github.workspace }}/.github/workflows/.excludePathsToNotFailOnConfigFile.txt \ No newline at end of file From df8667273b76ae083c37212b482cc90a3ddd6159 Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Thu, 9 Dec 2021 10:06:22 -0600 Subject: [PATCH 24/26] 3.1 --- .github/workflows/checkTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 560b1f887f..13fd52dcbd 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -35,7 +35,7 @@ jobs: run: | ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.3.0 + uses: jordanbean-msft/github-action-wth-template-check@v0.3.1 with: path: ${{ github.workspace }} shouldScanSubdirectories: true From 97674abbab952dead2dc667ab6371013bde98e0e Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 15 Dec 2021 16:20:46 -0600 Subject: [PATCH 25/26] 0.4.0 --- .github/workflows/.checkTemplateIgnore | 27 +++++++++++++ .../.excludePathsToNotFailOnConfigFile.txt | 2 - .github/workflows/checkTemplate.yml | 40 +++++++------------ 3 files changed, 42 insertions(+), 27 deletions(-) create mode 100644 .github/workflows/.checkTemplateIgnore delete mode 100644 .github/workflows/.excludePathsToNotFailOnConfigFile.txt diff --git a/.github/workflows/.checkTemplateIgnore b/.github/workflows/.checkTemplateIgnore new file mode 100644 index 0000000000..f5cf544c5a --- /dev/null +++ b/.github/workflows/.checkTemplateIgnore @@ -0,0 +1,27 @@ +000-HowToHack +004-HotelCaliVegasDevHack +006-AppModernization +007-AzureMonitoring +008-DatabricksIntroML +012-InfraAsCode-Terraform +013-InfraAsCode-Ansible +015-Serverless +016-AppMigration +017-FrontDoor +018-BI2AI +019-ThisOldDataWarehouse +020-MasteringLinux +022-AzureGovernance +024-DoYouEvenSynapse +028-AdvancedNetworking +029-IoTEdge +031-DevOpsWithGitHub +032-MLOpsFromScratch +033-OSSDatabaseMigration +034-MicrosoftTeams-MakeItReal +035-HubAndSpoke +036-BGP +038-MDWCovid19 +041-VirtualWAN +043-SQLModernization +044-DevOpswithGithubActions \ No newline at end of file diff --git a/.github/workflows/.excludePathsToNotFailOnConfigFile.txt b/.github/workflows/.excludePathsToNotFailOnConfigFile.txt deleted file mode 100644 index f5a4bc4953..0000000000 --- a/.github/workflows/.excludePathsToNotFailOnConfigFile.txt +++ /dev/null @@ -1,2 +0,0 @@ -038-MDWCovid19 -044-DevOpswithGithubActions \ No newline at end of file diff --git a/.github/workflows/checkTemplate.yml b/.github/workflows/checkTemplate.yml index 13fd52dcbd..49ac30f64d 100644 --- a/.github/workflows/checkTemplate.yml +++ b/.github/workflows/checkTemplate.yml @@ -2,41 +2,31 @@ name: Check Template Format on: workflow_dispatch: + pull_request: + branches: + - master + paths: + - '**' + - '!README.md' + - '!assets/**' + - '!.github/**' + - '.github/workflows/checkTemplate.yml' push: paths: + - '**' + - '!README.md' + - '!assets/**' + - '!.github/**' - '.github/workflows/checkTemplate.yml' - - '047-Dapr/**' -# jobs: -# generateInputPaths: -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v2 -# - name: Generate matrix with all modules of WhatTheHack repository -# id: set-matrix -# run: | -# echo "::set-output name=matrix::$(ls -l | grep '^d' | awk -F ' ' '{print $9}' | grep -Po '\d{3}.*' | jq -R -s -c 'split("\n") | map(select(length > 0))')" -# outputs: -# matrix: ${{ steps.set-matrix.outputs.matrix }} -# cache: ${{ steps.set-cache.outputs.cache-hit }} -# checklinks: -# needs: generateInputPaths -# runs-on: ubuntu-latest -# strategy: -# fail-fast: false -# matrix: -# inputPath: ${{ fromJson(needs.generateInputPaths.outputs.matrix) }} jobs: checklinks: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Print Directory Structure - run: | - ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - name: Template Format Check - uses: jordanbean-msft/github-action-wth-template-check@v0.3.1 + uses: jordanbean-msft/github-action-wth-template-check@v0.4.0 with: path: ${{ github.workspace }} shouldScanSubdirectories: true - pathToExcludePathsToNotFailOnConfigFile: ${{ github.workspace }}/.github/workflows/.excludePathsToNotFailOnConfigFile.txt \ No newline at end of file + pathToIgnoreFile: ${{ github.workspace }}/.github/workflows/.checkTemplateIgnore \ No newline at end of file From d23dc4d81148d169cb04857f930efcd92bdc5f8b Mon Sep 17 00:00:00 2001 From: Jordan Bean Date: Wed, 15 Dec 2021 16:48:55 -0600 Subject: [PATCH 26/26] removin extra file --- 047-Dapr/Coach/Solutions/README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 047-Dapr/Coach/Solutions/README.md diff --git a/047-Dapr/Coach/Solutions/README.md b/047-Dapr/Coach/Solutions/README.md deleted file mode 100644 index e69de29bb2..0000000000