feat!: upgrade aws provider to v5, upgrade lambda node version #44
Workflow file for this run
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: Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
conventional-commits-pr: | |
if: "github.event.pull_request.draft == false && !contains(github.event.head_commit.message, 'chore(docs): apply automatic generated docs')" | |
name: Validate Conventional Commits PR | |
runs-on: ubuntu-latest | |
steps: | |
- uses: catalystsquad/action-validate-conventional-commits-pr@v1 | |
terraform-validate: | |
if: "github.event.pull_request.draft == false && !contains(github.event.head_commit.message, 'chore(docs): apply automatic generated docs')" | |
name: Terraform Validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Validate | |
uses: catalystsquad/action-terraform@v1 | |
with: | |
command: validate | |
gen-docs: | |
if: "!contains(github.event.head_commit.message, 'chore(docs): apply automatic generated docs')" | |
name: Generate docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.AUTOMATION_PAT }} | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Configure git | |
uses: fregante/setup-git-user@v1 | |
- uses: terraform-docs/gh-actions@main | |
with: | |
# make use of the config file so that terraform-docs can be executed | |
# locally for the same result as github actions with ease | |
config-file: .terraform-docs.yml | |
git-push: "true" | |
git-commit-message: "chore(docs): apply automatic generated docs" |