Skip to content

Commit

Permalink
AAE-18110 - Add pre-checks job
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni007 committed Nov 21, 2023
1 parent cac7b2a commit 1a57cd1
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,28 @@ env:

jobs:

check-ext-build:
name: Check dependabot/external build
pre-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Activiti/Activiti/.github/actions/check-ext-build@8.0.0-alpha.10

pre-commit:
needs: check-ext-build
runs-on: ubuntu-latest
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v3.2.1
- uses: bridgecrewio/checkov-action@v12.1839.0
- name: Check dependabot build
uses: Activiti/Activiti/.github/actions/check-ext-build@8.0.0-alpha.10
- name: Setup Helm Docs
uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v3.2.1
- name: Run Checkov
uses: bridgecrewio/checkov-action@v12.1839.0
with:
framework: kubernetes
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v3.2.1
- name: pre-commit
uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v3.8.0
with:
skip_checkout: true
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@f32435541e24cd6a4700a7f52bb2ec59e80603b1 # v2.1.4

build:
runs-on: ubuntu-latest
needs: pre-commit
needs: pre-checks
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 1a57cd1

Please sign in to comment.