github.com/grafana/synthetic-monitoring-agent@v0.64.2/.github/workflows/renovate-validate.yaml (about)

     1  name: Validate renovate config
     2  on:
     3    pull_request:
     4      paths:
     5        # When renovate config changes:
     6        - "renovate.*"
     7        - ".renovate.*"
     8        - ".github/renovate.*"
     9  
    10  permissions:
    11    contents: none
    12  
    13  jobs:
    14    renovate:
    15      permissions:
    16        # Needed for logging into vault.
    17        contents: read
    18        id-token: write
    19      runs-on: ubuntu-amd64-small
    20      timeout-minutes: 5
    21      steps:
    22        - name: Checkout Code
    23          uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
    24          with:
    25            persist-credentials: false
    26  
    27        - name: Check drift
    28          run: |
    29            ./scripts/generate-renovate-config
    30  
    31            ./scripts/check-renovate-config "$GITHUB_STEP_SUMMARY"
    32  
    33        - name: Validate Renovate Config
    34          uses: grafana/shared-workflows/actions/validate-renovate-config@726f1a912f45b4807774b76a6d40cbd3fb7a12c0 # validate-renovate-config/v0.1.2
    35          with:
    36            path: .github/renovate.json