Skip to content

Commit

Permalink
fix pushing helm docs back to main
Browse files Browse the repository at this point in the history
  • Loading branch information
sami-alajrami committed Jan 16, 2024
1 parent f99157e commit 6fcb90d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Check non critical
id: non-critical
run: |
ACCEPTED_PATHS="^bin/|^design-docs/"
ACCEPTED_PATHS="^bin/|^design-docs/|^charts/k8s-reporter/README.md|^docs.kosli.com/content/helm/_index.md"
CRITICAL=false
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
echo "$file"
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
permissions:
id-token: write
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -64,10 +65,14 @@ jobs:
run: |
rm -rf package
- uses: EndBug/add-and-commit@v7
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
add: '["docs.kosli.com/.", "charts/."]'
branch: main
default_author: github_actor
message: 'Update helm docs'
pull: 'NO-PULL'
commit-message: 'Update helm docs'
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
delete-branch: true
title: 'Update helm docs'
body: |
Update helms docs

0 comments on commit 6fcb90d

Please sign in to comment.