Skip to content

feat: Formated code #14

feat: Formated code

feat: Formated code #14

Workflow file for this run

name: 'Create README.md file'
permissions: write-all
on:
push:
branches:
- master
paths-ignore:
- '**/*README.md'
workflow_dispatch:
jobs:
readme-create:
uses: clouddrove/github-shared-workflows/.github/workflows/readme.yml@master
secrets:
TOKEN: ${{ secrets.GITHUB }}
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}
# Create README for each Submodules
readme-create-addon:
name: 'Addon readme-create'
runs-on: ubuntu-latest
steps:
- name: Updating GitHub Token
env:
GITHUB_TOKEN: ${{ secrets.GITHUB }}
run: echo "GH_TOKEN=${GITHUB_TOKEN}" >> $GITHUB_ENV
- name: checkout
uses: actions/checkout@master
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
token: ${{ env.GH_TOKEN }}
- name: Generate TF Docs
uses: terraform-docs/[email protected]
working-dir: addons/cluster-autoscaler,addons/cert-manager,addons/ingress-nginx,addons/keda,addons/reloader,addons/kubeclarity,addons/external-dns

Check failure on line 38 in .github/workflows/readme.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/readme.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
git-push: true
template: |-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
{{ .Content }}
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
git-push-user-name: "clouddrove-ci"
git-push-user-email: [email protected]
git-commit-message: "readme: Update add-on's readme"