From 9414b217e2a00a076f8238a19533a3758459126a Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 14:17:26 +0000 Subject: [PATCH 01/33] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 035a6e1..d8a10dc 100644 --- a/main.tf +++ b/main.tf @@ -13,7 +13,7 @@ resource "aws_security_group_rule" "my-rule2" { cidr_blocks = ["0.0.0.0/0"] #tfsec:ignore:aws-vpc-no-public-ingress-sgr:exp:2023-01-13 } -resource "aws_s3_bucket" "my-bucket" { +resource "aws_s3_bucket" "my-bucket1" { bucket = "foobar" acl = "private" } From c08a13bee3c9f7ceee9555dec9414c693c70cf71 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 14:17:41 +0000 Subject: [PATCH 02/33] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index d8a10dc..035a6e1 100644 --- a/main.tf +++ b/main.tf @@ -13,7 +13,7 @@ resource "aws_security_group_rule" "my-rule2" { cidr_blocks = ["0.0.0.0/0"] #tfsec:ignore:aws-vpc-no-public-ingress-sgr:exp:2023-01-13 } -resource "aws_s3_bucket" "my-bucket1" { +resource "aws_s3_bucket" "my-bucket" { bucket = "foobar" acl = "private" } From b6fb763f87b96339fcfe3fbdc22fad690b9c3150 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 14:18:17 +0000 Subject: [PATCH 03/33] Create test1.tf --- test1.tf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test1.tf diff --git a/test1.tf b/test1.tf new file mode 100644 index 0000000..aa2aa75 --- /dev/null +++ b/test1.tf @@ -0,0 +1,4 @@ +resource "aws_s3_bucket" "my-bucket-test1" { + bucket = "foobar" + acl = "private" +} From 5836af7bdc6b57f0784be616b9b93d2238e2269f Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 14:53:56 +0000 Subject: [PATCH 04/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da0a17e..155736e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: uses: aquasecurity/tfsec-pr-commenter-action@v1.3.1 with: working_directory: '' - tfsec_args: --soft-fail + tfsec_args: --soft-fail --no-ignores github_token: ${{ github.token }} # create_issue: # runs-on: ubuntu-latest From adad4a71580deed71a2e843538ff46c707d4d5ac Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 15:04:26 +0000 Subject: [PATCH 05/33] Update main.yml --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 155736e..25d24f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,11 +12,14 @@ jobs: - name: Clone repo uses: actions/checkout@master - name: tfsec + id: tfsec uses: aquasecurity/tfsec-pr-commenter-action@v1.3.1 with: working_directory: '' tfsec_args: --soft-fail --no-ignores github_token: ${{ github.token }} + - name: outputtest2 + run: echo ${{join(steps.tfsec.outputs.*, '\n')}} # create_issue: # runs-on: ubuntu-latest # permissions: From e10f6c637880869ea485090a40b91c5bb3f8439f Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 15:07:38 +0000 Subject: [PATCH 06/33] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25d24f9..ca93bb6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,7 @@ jobs: tfsec_args: --soft-fail --no-ignores github_token: ${{ github.token }} - name: outputtest2 + if: always() run: echo ${{join(steps.tfsec.outputs.*, '\n')}} # create_issue: # runs-on: ubuntu-latest From 3ac456c27ebc6e2570e087fa4a886bdee052cd86 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 15:09:21 +0000 Subject: [PATCH 07/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ca93bb6..9116c31 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: github_token: ${{ github.token }} - name: outputtest2 if: always() - run: echo ${{join(steps.tfsec.outputs.*, '\n')}} + run: echo ${{join(steps.tfsec.outputs.results.json, '\n')}} # create_issue: # runs-on: ubuntu-latest # permissions: From 208f73e787e4da582def00060088836cf5ccf62b Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 15:13:28 +0000 Subject: [PATCH 08/33] Update main.yml --- .github/workflows/main.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9116c31..aaa4d59 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,9 +18,18 @@ jobs: working_directory: '' tfsec_args: --soft-fail --no-ignores github_token: ${{ github.token }} + - name: outputtest2 if: always() - run: echo ${{join(steps.tfsec.outputs.results.json, '\n')}} + run: | + echo "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n" >> $GITHUB_OUTPUT + echo "BBBBB" >> $GITHUB_OUTPUT + id: run_tests + - name: outputtest2 + if: always() + run: | + echo ${{join(steps.run_tests.outputs.*, '\n')}} + echo ${{join(steps.tfsec.outputs.*, '\n')}} # create_issue: # runs-on: ubuntu-latest # permissions: From 4626a9e2d03de634ffc764d69214f65ea89e9a91 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 15:13:50 +0000 Subject: [PATCH 09/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aaa4d59..6828a1a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: tfsec_args: --soft-fail --no-ignores github_token: ${{ github.token }} - - name: outputtest2 + - name: outputtest1 if: always() run: | echo "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n" >> $GITHUB_OUTPUT From 121f6ecd16fdf8e52153db0971393c0a386d0544 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 15:18:47 +0000 Subject: [PATCH 10/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6828a1a..625b776 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: - name: outputtest1 if: always() run: | - echo "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n" >> $GITHUB_OUTPUT + echo "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" >> $GITHUB_OUTPUT echo "BBBBB" >> $GITHUB_OUTPUT id: run_tests - name: outputtest2 From 7754aab3505fadbb45c2182ec83e2fe83a9baea9 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 22:51:21 +0000 Subject: [PATCH 11/33] Update main.yml --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 625b776..33810f3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,8 +22,7 @@ jobs: - name: outputtest1 if: always() run: | - echo "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" >> $GITHUB_OUTPUT - echo "BBBBB" >> $GITHUB_OUTPUT + echo "mix-ecto_create='ABC'" >> $GITHUB_OUTPUT id: run_tests - name: outputtest2 if: always() From 54cc89711477d9d63feb10ca9b95d7f891069a38 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 22:53:21 +0000 Subject: [PATCH 12/33] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 33810f3..7fc047d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,7 @@ jobs: - name: outputtest2 if: always() run: | + echo ${{steps.run_tests.outputs.mix-ecto_create}} echo ${{join(steps.run_tests.outputs.*, '\n')}} echo ${{join(steps.tfsec.outputs.*, '\n')}} # create_issue: From 422f7da328d8c71615855349f7ff70b36abea1cf Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 22:59:20 +0000 Subject: [PATCH 13/33] Update main.yml --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7fc047d..8ee313d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,8 @@ jobs: working_directory: '' tfsec_args: --soft-fail --no-ignores github_token: ${{ github.token }} - + - run: | + ls - name: outputtest1 if: always() run: | From b057bd5d5d53350076e2d84ea3298674f1a44bdc Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 23:01:44 +0000 Subject: [PATCH 14/33] Update main.yml --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8ee313d..ab7ebd0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,11 +18,10 @@ jobs: working_directory: '' tfsec_args: --soft-fail --no-ignores github_token: ${{ github.token }} - - run: | - ls - name: outputtest1 if: always() run: | + ls echo "mix-ecto_create='ABC'" >> $GITHUB_OUTPUT id: run_tests - name: outputtest2 From 6ad877d152d665a9d9974cc9e68b12aecb356819 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 23:10:44 +0000 Subject: [PATCH 15/33] Update main.yml --- .github/workflows/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab7ebd0..c977f21 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,18 @@ jobs: working_directory: '' tfsec_args: --soft-fail --no-ignores github_token: ${{ github.token }} + - name: Upload math result for job 1 + if: always() + uses: actions/upload-artifact@v3 + with: + name: tf_results + path: results.json + - name: Print the final result + if: always() + shell: bash + run: | + value=`cat results.json` + echo The result is $value - name: outputtest1 if: always() run: | From 8fdf384fb4e9cd28eba56aece45c46fe9e2ce09b Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sat, 14 Jan 2023 23:15:08 +0000 Subject: [PATCH 16/33] Update main.yml --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c977f21..03bd091 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,6 +30,11 @@ jobs: run: | value=`cat results.json` echo The result is $value + - name: Download math result for job 2 + if: always() + uses: actions/download-artifact@v3 + with: + name: tf_results - name: outputtest1 if: always() run: | From c35eb15f188168cc07c199ba3d2386b367dde028 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Mon, 16 Jan 2023 22:34:56 +0000 Subject: [PATCH 17/33] Update main.yml --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 03bd091..d8c4664 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,6 +30,16 @@ jobs: run: | value=`cat results.json` echo The result is $value + name: A job to say hello + - name: pull_request + run: echo ${{github.event.pull_request.url}} + - name: tf-visualizer-action + if: always() + id: hello + uses: fatihtokus/tf-visualizer-action@v0.0.17 + with: + pull-request: ${{github.event.pull_request.url}} + github-token: ${{ github.token }} - name: Download math result for job 2 if: always() uses: actions/download-artifact@v3 From f3179f308a47cd4b7b4cb77b866cf2b2052ae7b8 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Mon, 16 Jan 2023 22:40:13 +0000 Subject: [PATCH 18/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8c4664..850d982 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.17 + uses: fatihtokus/tf-visualizer-action@master with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From 48c4d81dec8fa3c225cabd02503d96f7abbcafb3 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Mon, 16 Jan 2023 22:41:14 +0000 Subject: [PATCH 19/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 850d982..7a0a4f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@master + uses: fatihtokus/tf-visualizer-action@v0.0.18 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From 1ebf1f0d858a422f194c20829c0e139b27e861ec Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Sun, 22 Jan 2023 21:08:13 +0000 Subject: [PATCH 20/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7a0a4f7..b37682c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.18 + uses: fatihtokus/tf-visualizer-action@v0.0.19 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From d76c136f40542b4f3311697fe2a6676d8448a324 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Wed, 25 Jan 2023 23:27:29 +0000 Subject: [PATCH 21/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b37682c..c968926 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.19 + uses: fatihtokus/tf-visualizer-action@v0.0.20 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From b6ee154cc981d86bf7c632064ad26873cfa9d278 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Wed, 25 Jan 2023 23:31:14 +0000 Subject: [PATCH 22/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c968926..556999b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.20 + uses: fatihtokus/tf-visualizer-action@v0.0.21 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From 9fbdcd5f59de4cf86ba0601f3cca92b4a4767a2e Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Wed, 25 Jan 2023 23:34:10 +0000 Subject: [PATCH 23/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 556999b..fee1bf7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.21 + uses: fatihtokus/tf-visualizer-action@v0.0.22 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From 3290d7c0c7af9f24883cfe66d1533cb1ebd3b0a3 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Wed, 25 Jan 2023 23:37:12 +0000 Subject: [PATCH 24/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fee1bf7..857b84f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.22 + uses: fatihtokus/tf-visualizer-action@v0.0.23 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From e72ed3d5962e29fe50923e360e3079b630fce715 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Fri, 27 Jan 2023 19:27:24 +0000 Subject: [PATCH 25/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 857b84f..308f5b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.23 + uses: fatihtokus/tf-visualizer-action@v0.0.24 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From 223567dfa079e73903d4e6f19caa18ba06d43fcf Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Fri, 27 Jan 2023 19:33:43 +0000 Subject: [PATCH 26/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 308f5b3..0618bca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.24 + uses: fatihtokus/tf-visualizer-action@v0.0.25 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From b0766245e16c896ecb463f41707a71a1f23ee67f Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Fri, 27 Jan 2023 22:31:52 +0000 Subject: [PATCH 27/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0618bca..72a5469 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.25 + uses: fatihtokus/tf-visualizer-action@v0.0.26 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From 64aa4626f10b7a75ebda8497f86966b7502c7908 Mon Sep 17 00:00:00 2001 From: Fatih Tokus Date: Fri, 27 Jan 2023 23:40:27 +0000 Subject: [PATCH 28/33] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 72a5469..103f50a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.26 + uses: fatihtokus/tf-visualizer-action@v0.0.27 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }} From 82cf7a1eb74013562ebf68489037c63956a109c8 Mon Sep 17 00:00:00 2001 From: fatihtokus Date: Wed, 1 Feb 2023 12:35:39 +0000 Subject: [PATCH 29/33] wip --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 103f50a..0616f13 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: uses: aquasecurity/tfsec-pr-commenter-action@v1.3.1 with: working_directory: '' - tfsec_args: --soft-fail --no-ignores + tfsec_args: --soft-fail --no-ignores --include-passed github_token: ${{ github.token }} - name: Upload math result for job 1 if: always() From 07fe3fde6373b20af730d69ead7c274aaaa007b0 Mon Sep 17 00:00:00 2001 From: fatihtokus Date: Wed, 1 Feb 2023 12:38:08 +0000 Subject: [PATCH 30/33] wip --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0616f13..8bee921 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,6 +73,7 @@ jobs: # "body": "This issue was automatically created by the GitHub Action workflow **${{ github.workflow }}**. \n\n The commit hash was: _${{ github.sha }}_." # }' \ # --fail +# # hello_world_job: # runs-on: ubuntu-latest # permissions: From 360f928f8c7abd7edf512623e730437af0549e16 Mon Sep 17 00:00:00 2001 From: fatihtokus Date: Wed, 1 Feb 2023 12:58:32 +0000 Subject: [PATCH 31/33] wip --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8bee921..fe8e8df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,7 @@ jobs: uses: aquasecurity/tfsec-pr-commenter-action@v1.3.1 with: working_directory: '' + tfsec_formats: json,html tfsec_args: --soft-fail --no-ignores --include-passed github_token: ${{ github.token }} - name: Upload math result for job 1 From 0dc63d00b7404082fcdd0ff89bfedc901070b809 Mon Sep 17 00:00:00 2001 From: fatihtokus Date: Wed, 1 Feb 2023 13:03:29 +0000 Subject: [PATCH 32/33] wip --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe8e8df..54fe0cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,12 @@ jobs: with: name: tf_results path: results.json + - name: Upload math result for job 11 + if: always() + uses: actions/upload-artifact@v3 + with: + name: tf_results + path: results.html - name: Print the final result if: always() shell: bash From 25232b2eefc887852eb3a343bd464d005e70bce3 Mon Sep 17 00:00:00 2001 From: fatihtokus Date: Fri, 3 Feb 2023 19:44:48 +0000 Subject: [PATCH 33/33] wip --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 54fe0cc..8923e6b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: - name: tf-visualizer-action if: always() id: hello - uses: fatihtokus/tf-visualizer-action@v0.0.27 + uses: fatihtokus/tf-visualizer-action@v0.0.28 with: pull-request: ${{github.event.pull_request.url}} github-token: ${{ github.token }}