Skip to content

OPSEXP-2654 Reindex job as configurable helm hook #1575

OPSEXP-2654 Reindex job as configurable helm hook

OPSEXP-2654 Reindex job as configurable helm hook #1575

Workflow file for this run

---
name: Pre-commit
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
pre_commit:
name: Run pre-commit
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@0901cf7b71c7ea6261ec69a3dc2bd3f9264f893e # v3.0.12
with:
allowlist: |
Alfresco/alfresco-build-tools/
- name: Setup helm docs
uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@a288b9efdaa50413573b2e130896d906478b8e50 # v5.31.0
- name: Install kubeconform helm plugin
run: |
helm plugin install https://github.com/jtyr/kubeconform-helm --version v0.1.12
- name: Run pre-commit
uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@a288b9efdaa50413573b2e130896d906478b8e50 # v5.31.0
with:
# disable auto-commit for PRs from forks
auto-commit: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }}