From bb8cec8cc6ce9680d963695a381c123a3c690b54 Mon Sep 17 00:00:00 2001 From: nonat-sudo Date: Fri, 1 Aug 2025 11:56:40 +0800 Subject: [PATCH] Update az-security-scan.yml --- .github/workflows/az-security-scan.yml | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/az-security-scan.yml diff --git a/.github/workflows/az-security-scan.yml b/.github/workflows/az-security-scan.yml new file mode 100644 index 0000000000..2a5a2d4de4 --- /dev/null +++ b/.github/workflows/az-security-scan.yml @@ -0,0 +1,28 @@ + + # .github/workflows/az-security-scan.yml + + name: AZ-Security-Scan + + on: + push: + branches: + - '*' + workflow_dispatch: + + jobs: + armourzero_security_test_pre: + runs-on: ubuntu-latest + + env: + AZ_API_KEY: "${{ secrets.AZ_TOKEN }}" + PROJECT_KEY: "jTcKuxRrWZxzUxkPJBlZFZzMcdkrIyzi" + BRANCH_NAME: "${{ github.ref_name }}" + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: ArmourZero Security Test (Pre) + run: | + docker run -v "$(pwd):/app/wrk" --rm armourzero/pipe-scan:latest --apikey="$AZ_API_KEY" --projectkey="$PROJECT_KEY" --branch="$BRANCH_NAME" --repo="$GITHUB_REPOSITORY" + continue-on-error: true