Update Terraform Compatibility Matrix documentation #41
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
name: Update Terraform Compatibility Matrix documentation | |
# Checks if any changes are required to be made to our documentation for supported Terraform versions. Runs daily and can be triggered manually. | |
on: | |
schedule: | |
- cron: "0 7 * * *" # Everyday at 7:00 AM | |
workflow_dispatch: | |
jobs: | |
update-tf-compatibility-matrix: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- name: Update files | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make update-tf-compatibility-matrix | |
- name: Verify Changed files | |
uses: tj-actions/verify-changed-files@de152e1bce12b93e6be184571c98cdf077262056 | |
id: verify-changed-files | |
- name: Create PR | |
uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83 | |
if: steps.verify-changed-files.outputs.files_changed == 'true' | |
with: | |
title: "doc: Updates Terraform Compatibility Matrix documentation" | |
commit-message: "doc: Updates Terraform Compatibility Matrix documentation" | |
delete-branch: true | |
branch: terraform-compatibility-matrix-update | |
body: Automatic updates for Terraform Compatibility Matrix documentation |