Skip to content

azurerm_container_registry - Deprecated trust_policy_enabled #33530

azurerm_container_registry - Deprecated trust_policy_enabled

azurerm_container_registry - Deprecated trust_policy_enabled #33530

---
name: Check for new usages of deprecated functionality
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/gradually-deprecated.yaml'
- './scripts/run-gradually-deprecated.sh'
- '**.go'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version-file: ./.go-version
- run: bash ./scripts/run-gradually-deprecated.sh
- name: Guidance on failure
if: failure()
run: |
echo "::error::New usage of deprecated functionality detected."
echo ""
echo "Your changes introduce new usages of deprecated functions or patterns."
echo "Please use the recommended replacement instead. Check the output above"
echo "for details on which deprecated items were referenced."
save-artifacts-on-fail:
needs: test
if: ${{ failure() }}
uses: ./.github/workflows/save-artifacts.yaml
comment-on-fail:

Check failure on line 39 in .github/workflows/gradually-deprecated.yaml

View workflow run for this annotation

GitHub Actions / Check for new usages of deprecated functionality

Invalid workflow file

The workflow is not valid. .github/workflows/gradually-deprecated.yaml (Line: 39, Col: 3): Error calling workflow 'hashicorp/terraform-provider-azurerm/.github/workflows/comment-ci-failure.yaml@d072431c723c6dcc06a2854a0cbc85917fe3cb58'. The workflow is requesting 'issues: write', but is only allowed 'issues: none'.
needs: test
if: ${{ failure() }}
uses: ./.github/workflows/comment-ci-failure.yaml
comment-outdated-on-pass:
needs: test
if: ${{ success() }}
uses: ./.github/workflows/comment-ci-failure-outdated.yaml