From 18f8827093dd64e05d0c9191da23ed6d5fa1dd8a Mon Sep 17 00:00:00 2001 From: Chet Joswig Date: Thu, 18 Jan 2024 15:21:37 -0800 Subject: [PATCH] run release workflows on dev-a.b.c --- .github/workflows/cloc.yml | 2 ++ .github/workflows/pgcmp.yml | 1 + .github/workflows/publish.yml | 12 +++++++----- .github/workflows/security-scan.yml | 2 ++ .github/workflows/test.yml | 2 ++ 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cloc.yml b/.github/workflows/cloc.yml index 323f908cf9..cb2e7e04e2 100644 --- a/.github/workflows/cloc.yml +++ b/.github/workflows/cloc.yml @@ -4,11 +4,13 @@ on: pull_request: branches: - develop + - dev-[0-9]+.[0-9]+.[0-9]+ push: branches: - develop tags: - v* + workflow_dispatch: jobs: cloc: diff --git a/.github/workflows/pgcmp.yml b/.github/workflows/pgcmp.yml index a19af69d42..731b8009b0 100644 --- a/.github/workflows/pgcmp.yml +++ b/.github/workflows/pgcmp.yml @@ -17,6 +17,7 @@ on: - "deployment/postgres-init-db/sql/**" branches: - develop + - dev-[0-9]+.[0-9]+.[0-9]+ tags: - v* workflow_dispatch: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b02d482c8b..1377a3e711 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,8 +4,10 @@ on: push: branches: - develop + - dev-[0-9]+.[0-9]+.[0-9]+ tags: - v* + workflow_dispatch: env: REGISTRY: ghcr.io @@ -137,19 +139,19 @@ jobs: with: image-ref: ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ matrix.image }}:develop ignore-unfixed: true - exit-code: '1' - severity: 'CRITICAL' - format: 'template' + exit-code: "1" + severity: "CRITICAL" + format: "template" template: "@/contrib/html.tpl" scanners: "vuln" - output: '${{ matrix.image }}-results.html' + output: "${{ matrix.image }}-results.html" - name: Upload ${{ matrix.image }} scan results if: always() uses: actions/upload-artifact@v3 with: name: Vuln Scan Results - path: '${{ matrix.image }}-results.html' + path: "${{ matrix.image }}-results.html" publish: name: gradle publish diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml index ed2b03dcf5..f9f4f66441 100644 --- a/.github/workflows/security-scan.yml +++ b/.github/workflows/security-scan.yml @@ -4,11 +4,13 @@ on: pull_request: branches: - develop + - dev-[0-9]+.[0-9]+.[0-9]+ push: branches: - develop tags: - v* + workflow_dispatch: jobs: analyze: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44daa49b79..fc0b0e9efd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,11 +4,13 @@ on: pull_request: branches: - develop + - dev-[0-9]+.[0-9]+.[0-9]+ push: branches: - develop tags: - v* + workflow_dispatch: env: AERIE_USERNAME: "${{secrets.AERIE_USERNAME}}"