add Devcontainer #3283
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: Chart-Preparation | |
on: | |
pull_request: | |
branches: [main] | |
paths: ["charts/**"] | |
push: | |
branches: [main] | |
paths: ["charts/**"] | |
workflow_dispatch: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- uses: pre-commit/[email protected] | |
# documentation: | |
# needs: | |
# - pre-commit | |
# runs-on: ubuntu-latest | |
# container: ghcr.io/chgl/kube-powertools:latest | |
# steps: | |
# - name: checkout git repository | |
# uses: actions/checkout@v3 | |
# with: | |
# fetch-depth: 0 | |
# - name: Check if documentation is up-to-date | |
# run: generate-docs.sh && git diff --exit-code HEAD | |
# changelog: | |
# needs: | |
# - pre-commit | |
# runs-on: ubuntu-latest | |
# container: ghcr.io/chgl/kube-powertools:latest | |
# steps: | |
# - name: checkout git repository | |
# uses: actions/checkout@v3 | |
# with: | |
# fetch-depth: 0 | |
# - name: Update dependencies | |
# run: find charts/ ! -path charts/ -maxdepth 1 -type d -exec helm dependency update {} \; | |
# # used to test whether the changelog generation process works properly | |
# - name: Generate changelogs | |
# run: bash .github/generate-chart-changelogs.sh |