Run adf-app container on high uid by default (#417) #1674
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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@38608ef4fb69adae7f1eac6eeb88e67b7d083bfd # v3.0.16 | |
with: | |
allowlist: | | |
Alfresco/alfresco-build-tools/ | |
- name: Setup helm docs | |
uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@a0837df06d10de2cae8a99319e8e101a6cbe9083 # v8.4.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@a0837df06d10de2cae8a99319e8e101a6cbe9083 # v8.4.0 | |
with: | |
# disable auto-commit for PRs from forks | |
auto-commit: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }} |