From b66eb15eb0a2831379dc1110018ac98c18ebe356 Mon Sep 17 00:00:00 2001 From: xumia Date: Thu, 8 Sep 2022 00:31:56 +0000 Subject: [PATCH 1/3] Support the bandit check in GitHub Action --- .github/workflows/bandit.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/bandit.yml diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml new file mode 100644 index 0000000000..a0ea0ce4d8 --- /dev/null +++ b/.github/workflows/bandit.yml @@ -0,0 +1,20 @@ +# This workflow is to do the bandit check +# + +name: bandit +on: + pull_request: + types: + - opened + - reopened + - synchronize + +jobs: + bendit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: bandit + uses: jpetrucciani/bandit-check/bandit-check@master + with: + path: '.' From 96765b8d366b8ccc7524fe87822c1081eedf56b9 Mon Sep 17 00:00:00 2001 From: xumia Date: Thu, 8 Sep 2022 00:54:28 +0000 Subject: [PATCH 2/3] Fix repo reference issue --- .github/workflows/bandit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index a0ea0ce4d8..954292cc27 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -15,6 +15,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: bandit - uses: jpetrucciani/bandit-check/bandit-check@master + uses: jpetrucciani/bandit-check@master with: path: '.' From 28a44a1af8a9728a7a90ab6d67a6be2af92c70df Mon Sep 17 00:00:00 2001 From: xumia Date: Thu, 8 Sep 2022 01:42:34 +0000 Subject: [PATCH 3/3] Add .bandit file --- .bandit | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .bandit diff --git a/.bandit b/.bandit new file mode 100644 index 0000000000..e69de29bb2