Trialing use of modules for hmpps projects. #27867
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
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 }} | |