[Dependencies:] azurerm_cdn_frontdoor_rule
, azurerm_cdn_frontdoor_ruleset
and cdn_frontdoor_rule_actions
- upgrade resources to 2024-02-01
API to enable support for the JS Challenge field
#6691
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: Resource Document Linting | |
permissions: | |
contents: read | |
pull-requests: read | |
on: | |
pull_request: | |
types: ["opened", "synchronize"] | |
paths: | |
- ".github/workflows/document-lint.yaml" | |
- "internal/services/**" | |
- "website/**" | |
branches: ["main"] | |
jobs: | |
document-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version-file: ./.go-version | |
- run: bash scripts/gogetcookie.sh | |
- run: make document-lint | |
continue-on-error: true | |
- name: check lint result | |
if: failure() | |
run: | | |
echo "::warning::Document linting failed. Please fix the issues." |