fix: Remove problematic k8sattributes config #931
Workflow file for this run
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 | |
jobs: | |
validate-commit: | |
uses: observeinc/.github/.github/workflows/shared_commit-validation.yaml@main | |
secrets: inherit | |
with: | |
skip: '{}' | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gabe565/setup-helm-docs-action@v1 | |
- uses: pre-commit/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
chart-version-bumps: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup updatecli | |
uses: updatecli/updatecli-action@v2 | |
- name: Bump any charts that require it | |
run: | | |
make updatecli/internal | |
git diff > diff.txt | |
if [ -s diff.txt ]; then | |
echo "Chart version bumps are needed. Please check the PR comments." | |
echo "The following chart updates are necessary:" > formatted_diff.txt | |
echo "\`\`\`" >> formatted_diff.txt | |
cat diff.txt >> formatted_diff.txt | |
echo "\`\`\`" >> formatted_diff.txt | |
exit 1 | |
fi | |
env: | |
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Comment PR with needed changes | |
if: failure() | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
filePath: ./formatted_diff.txt | |
comment_tag: chart-bump-changes | |
reactions: eyes |