Skip to content

[harbor_config_system] - add audit_log_forward_endpoint, skip_audit_log_database and banner_message (fixes #462) #28

[harbor_config_system] - add audit_log_forward_endpoint, skip_audit_log_database and banner_message (fixes #462)

[harbor_config_system] - add audit_log_forward_endpoint, skip_audit_log_database and banner_message (fixes #462) #28

# source https://github.com/hashicorp/terraform-provider-awscc/blob/main/.github/workflows/tfplugindocs-check.yml
name: Generate tfplugindocs /docs
on:
pull_request:
paths:
- .github/workflows/tfplugindocs-check.yml
- Makefile
- docs/**
- examples/**
- templates/**
jobs:
tfplugindocs_generate:
name: tfplugindocs generate
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- uses: actions/[email protected]
with:
go-version-file: tools/go.mod
- name: GOCACHE
run: |
echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV
- uses: actions/[email protected]
continue-on-error: true
timeout-minutes: 2
with:
# TODO: Replace with supported mechanism when it is supported
# https://github.com/actions/setup-go/issues/54
path: ${{ env.GOCACHE }}
key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('internal/**') }}
- uses: actions/[email protected]
continue-on-error: true
timeout-minutes: 2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
- run: |
make tools
make docs
- uses: actions-js/[email protected]
name: Github commit and push
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}
message: "[bot][skip ci] docs: tfplugindocs generate"