Skip to content

chore: add preprod-preapproved github env #26264

chore: add preprod-preapproved github env

chore: add preprod-preapproved github env #26264

on:
pull_request:
types: [opened, edited, reopened, synchronize]
jobs:
format-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check edited files for terraform modules
uses: ministryofjustice/cloud-platform-environments/cmd/check-terraform-modules-are-latest@main
env:
REPO_NAME: cloud-platform-environments
API_URL: ${{ vars.TERRAFORM_MODULE_VERSIONS_API_URL }}
PR_NUMBER: ${{ github.event.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}