Skip to content

azurerm_container_registry - Deprecated trust_policy_enabled #12967

azurerm_container_registry - Deprecated trust_policy_enabled

azurerm_container_registry - Deprecated trust_policy_enabled #12967

---
name: Static Analysis
permissions:
contents: read
pull-requests: read
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/static-analysis.yaml'
- 'vendor/**'
- 'internal/**.go'
concurrency:
group: 'staticAnalysys-${{ github.head_ref }}'
cancel-in-progress: true
jobs:
detect:
runs-on: custom-linux-small
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version-file: ./.go-version
- run: bash ./scripts/run-static-analysis.sh
- name: Guidance on failure
if: failure()
run: |
echo "::error::Static Analysis failed."
echo ""
echo "Run 'bash ./scripts/run-static-analysis.sh' locally to reproduce."
echo "This check looks for common code patterns that may indicate bugs or"
echo "deviations from project conventions."